// // GameManager::getNextUsedKey from 0x3232a4 to 0x323304 (96 bytes) // // 1 xrefs: // > GameManager::reorderKey @ 0x32330a // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int GameManager::getNextUsedKey(GameManager *a1, int a2, bool a3) { _BOOL4 v4; // r8 unsigned int v5; // r4 int v6; // r5 cocos2d::CCArray *OrderedCustomObjectKeys; // r6 cocos2d::CCString *v8; // r0 int v9; // r0 unsigned int v10; // r4 cocos2d::CCString *v12; // r0 v4 = a3; v5 = 0; v6 = 0; OrderedCustomObjectKeys = GameManager::getOrderedCustomObjectKeys(a1); while ( 1 ) { if ( v5 >= cocos2d::CCArray::count(OrderedCustomObjectKeys) ) return 0; v8 = cocos2d::CCArray::stringAtIndex(OrderedCustomObjectKeys, v5); v9 = cocos2d::CCString::intValue(v8); if ( v9 == a2 ) break; ++v5; v6 = v9; } if ( v4 ) return v6; v10 = v5 + 1; if ( v10 >= cocos2d::CCArray::count(OrderedCustomObjectKeys) ) return 0; v12 = cocos2d::CCArray::stringAtIndex(OrderedCustomObjectKeys, v10); return cocos2d::CCString::intValue(v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source