// // GameManager::getNextUsedKey from 0x414c98 to 0x414cf8 (96 bytes) // // 1 xrefs: // > GameManager::reorderKey @ 0x4155fe // // 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 11:47:39 +0000 // int __fastcall GameManager::getNextUsedKey(cocos2d::CCDictionary **this, int a2, int a3) { unsigned int v5; // r4 int v6; // r5 size_t **OrderedCustomObjectKeys; // r6 cocos2d::CCString *v8; // r0 int v9; // r0 unsigned int v10; // r4 cocos2d::CCString *v12; // r0 v5 = 0; v6 = 0; OrderedCustomObjectKeys = GameManager::getOrderedCustomObjectKeys(this); while ( 1 ) { if ( v5 >= cocos2d::CCArray::count((cocos2d::CCArray *)OrderedCustomObjectKeys) ) return 0; v8 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex((cocos2d::CCArray *)OrderedCustomObjectKeys, v5); v9 = cocos2d::CCString::intValue(v8); if ( v9 == a2 ) break; ++v5; v6 = v9; } if ( a3 ) return v6; v10 = v5 + 1; if ( v10 >= cocos2d::CCArray::count((cocos2d::CCArray *)OrderedCustomObjectKeys) ) return 0; v12 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex((cocos2d::CCArray *)OrderedCustomObjectKeys, v10); return cocos2d::CCString::intValue(v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source