// // DS_Dictionary::removeKey from 0x80af6c to 0x80b012 (166 bytes) // // 11 xrefs: // > GJGameLevel::getExportSaveString @ 0x4aba74 // > GameLevelManager::prunePlatformerJournalKeys @ 0x4b5d80 // > sub_4C60B4 @ 0x4c623e // > GameLevelManager::writePlatformerSaveJournal @ 0x4caf02 // > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfda6 // > DS_Dictionary::setStringArrayForKey @ 0x80b70a // > DS_Dictionary::getArrayForKey @ 0x80d9fc // > DS_Dictionary::setVec2ForKey @ 0x80ec44 // > DS_Dictionary::setRectForKey @ 0x80eea0 // > DS_Dictionary::setVec2ArrayForKey @ 0x80f026 // > DS_Dictionary::setRectArrayForKey @ 0x80f2b4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:01:29 +0000 // int __fastcall DS_Dictionary::removeKey(DS_Dictionary *this, const char *a2) { pugi::xml_node *v4; // r0 const char *v5; // r1 int result; // r0 const char *v7; // r0 pugi::xml_node *v8; // r7 const char *v9; // r1 int i; // [sp+4h] [bp-10h] BYREF int sibling; // [sp+8h] [bp-Ch] BYREF v4 = (pugi::xml_node *)(*((_DWORD *)this + 51) - 4); if ( *((_BYTE *)this + 212) ) v5 = "key"; else v5 = "k"; for ( i = pugi::xml_node::child(v4, v5); ; i = pugi::xml_node::next_sibling((pugi::xml_node *)&i, v9) ) { result = pugi::xml_node::operator void (*)(pugi::xml_node***)(&i); if ( !result ) break; v7 = (const char *)pugi::xml_node::child_value((pugi::xml_node *)&i); if ( !strcmp(v7, a2) ) { v8 = (pugi::xml_node *)(*((_DWORD *)this + 51) - 4); sibling = pugi::xml_node::next_sibling((pugi::xml_node *)&i); pugi::xml_node::remove_child(v8, (const pugi::xml_node *)&sibling); return pugi::xml_node::remove_child((pugi::xml_node *)(*((_DWORD *)this + 51) - 4), (const pugi::xml_node *)&i); } if ( *((_BYTE *)this + 212) ) v9 = "key"; else v9 = "k"; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source