#include "classes.h" // 00926020 PersistentGameData_Bestiary * PersistentGameData_Bestiary::constructor() { void *mapHead; void *local_10; uint8_t *puStack_c; uint32_t local_8; local_8 = 0xffffffff; puStack_c = &LAB_00b0a863; local_10 = ExceptionList; ExceptionList = &local_10; *GHIDRA_CAST(this) = 0; *GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST(&(this[1])) + 0x1)))) = 0; mapHead = operator_new(0x18); *(void **)mapHead = mapHead; *(void **)(GHIDRA_CAST(mapHead) + 4) = mapHead; *(void **)(GHIDRA_CAST(mapHead) + 8) = mapHead; *GHIDRA_CAST((GHIDRA_CAST(mapHead) + 0xc)) = 0x101; *(void **)this = mapHead; local_8 = 0; *GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST(&(this[2])) + 0x2)))) = 0; *GHIDRA_CAST((this + 4)) = 0; mapHead = operator_new(0x18); *(void **)mapHead = mapHead; *(void **)(GHIDRA_CAST(mapHead) + 4) = mapHead; *(void **)(GHIDRA_CAST(mapHead) + 8) = mapHead; *GHIDRA_CAST((GHIDRA_CAST(mapHead) + 0xc)) = 0x101; *(void **)&(*GHIDRA_CAST((GHIDRA_CAST(&(this[2])) + 0x2))) = mapHead; (*GHIDRA_CAST((GHIDRA_CAST(&(local_8)) + 0x0))) = 1; *GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST(&(this[5])) + 0x1)))) = 0; *GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST(&(this[6])) + 0x2)))) = 0; mapHead = operator_new(0x18); *(void **)mapHead = mapHead; *(void **)(GHIDRA_CAST(mapHead) + 4) = mapHead; *(void **)(GHIDRA_CAST(mapHead) + 8) = mapHead; *GHIDRA_CAST((GHIDRA_CAST(mapHead) + 0xc)) = 0x101; *(void **)&(*GHIDRA_CAST((GHIDRA_CAST(&(this[5])) + 0x1))) = mapHead; local_8 = CONCAT31((*GHIDRA_CAST((GHIDRA_CAST(&(local_8)) + 0x1))),2); *GHIDRA_CAST((this + 8)) = 0; *GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST(&(this[9])) + 0x1)))) = 0; mapHead = operator_new(0x18); *(void **)mapHead = mapHead; *(void **)(GHIDRA_CAST(mapHead) + 4) = mapHead; *(void **)(GHIDRA_CAST(mapHead) + 8) = mapHead; *GHIDRA_CAST((GHIDRA_CAST(mapHead) + 0xc)) = 0x101; *(void **)(this + 8) = mapHead; ExceptionList = local_10; return this; } // 00926120 PersistentGameData_Bestiary::~PersistentGameData_Bestiary() { PersistentGameData_Bestiary *this_00; uint8_t *puVar1; this_00 = this + 8; FID_conflict__Erase_tree_>_> (this_00,(fuzzer_allocator_> *)this_00, *(_Tree_node **)(*GHIDRA_CAST((this + 8)) + 4)); operator_delete(*(void **)this_00,0x18); puVar1 = &(*GHIDRA_CAST((GHIDRA_CAST(&(this[5])) + 0x1))); FID_conflict__Erase_tree_>_> (puVar1,(fuzzer_allocator_> *)puVar1, *(_Tree_node **)(*GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST(&(this[5])) + 0x1)))) + 4)); operator_delete(*(void **)puVar1,0x18); puVar1 = &(*GHIDRA_CAST((GHIDRA_CAST(&(this[2])) + 0x2))); FID_conflict__Erase_tree_>_> (puVar1,(fuzzer_allocator_> *)puVar1, *(_Tree_node **)(*GHIDRA_CAST(&(*GHIDRA_CAST((GHIDRA_CAST(&(this[2])) + 0x2)))) + 4)); operator_delete(*(void **)puVar1,0x18); FID_conflict__Erase_tree_>_> (this,(fuzzer_allocator_> *)this, *(_Tree_node **)(*GHIDRA_CAST(this) + 4)); operator_delete(*(void **)this,0x18); return; }