// // GameManager::getNextUniqueObjectKey from 0x414c60 to 0x414c98 (56 bytes) // // 1 xrefs: // > GameManager::addNewCustomObject @ 0x4153a0 // // 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::getNextUniqueObjectKey(cocos2d::CCDictionary **this) { size_t **OrderedCustomObjectKeys; // r0 size_t *v2; // r3 signed int v3; // r4 cocos2d::CCString **v4; // r5 int v5; // r3 cocos2d::CCString **v6; // r6 cocos2d::CCString *v7; // r0 cocos2d::CCString *v8; // t1 signed int v9; // r0 OrderedCustomObjectKeys = GameManager::getOrderedCustomObjectKeys(this); if ( OrderedCustomObjectKeys ) { v2 = OrderedCustomObjectKeys[13]; v3 = *v2; if ( *v2 ) { v4 = (cocos2d::CCString **)v2[3]; v5 = v3 + 0x3FFFFFFF; v3 = 0; v6 = &v4[v5]; while ( v4 <= v6 ) { v8 = *v4++; v7 = v8; if ( !v8 ) break; v9 = cocos2d::CCString::intValue(v7); if ( v3 >= v9 ) v3 = v9; } } } else { v3 = 0; } return v3 - 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source