// // GameManager::getNextUniqueObjectKey from 0x7172f4 to 0x717390 (156 bytes) // // 2 xrefs: // > GameManager::addNewCustomObject @ 0x7173c4 // > @ 0xaee98 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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:52:16 +0000 // __int64 __fastcall GameManager::getNextUniqueObjectKey(cocos2d::CCDictionary **this) { cocos2d::CCArray *OrderedCustomObjectKeys; // x0 unsigned int *v2; // x2 unsigned int v3; // w1 cocos2d::CCString **v4; // x19 cocos2d::CCString **v5; // x21 cocos2d::CCString *v6; // x0 int v7; // w20 int v8; // w0 OrderedCustomObjectKeys = GameManager::getOrderedCustomObjectKeys(this); if ( !OrderedCustomObjectKeys ) return 0xFFFFFFFFLL; v2 = *((unsigned int **)OrderedCustomObjectKeys + 7); v3 = -1; if ( *v2 ) { v4 = *((cocos2d::CCString ***)v2 + 2); v5 = &v4[*v2 - 1]; if ( v4 <= v5 ) { v6 = *v4; v7 = 0; if ( *v4 ) { do { v8 = cocos2d::CCString::intValue(v6); ++v4; if ( v7 > v8 ) v7 = v8; if ( v5 < v4 ) break; v6 = *v4; } while ( *v4 ); return (unsigned int)(v7 - 1); } } } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source