// // GJBaseGameLayer::resetSpawnChannelIndex from 0x9c98e8 to 0x9c99a8 (192 bytes) // // 4 xrefs: // > LevelEditorLayer::onPlaytest @ 0x7965a8 // > LevelEditorLayer::updateGameObjects @ 0x79e458 // > GJBaseGameLayer::resetLevelVariables @ 0x9e79e0 // > @ 0xf9190 // // 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:58:35 +0000 // __int64 __fastcall GJBaseGameLayer::resetSpawnChannelIndex(GJBaseGameLayer *this) { char *v2; // x23 char *v3; // x22 cocos2d::CCDictionary *v4; // x0 unsigned int v5; // w19 cocos2d::CCArray *v6; // x20 unsigned int v7; // w1 int v9; // [xsp+44h] [xbp+44h] BYREF v2 = (char *)this + 840; v3 = (char *)this + 880; v4 = *((cocos2d::CCDictionary **)this + 414); v5 = 0; *((_DWORD *)this + 207) = 0; v6 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(v4); while ( v5 < (unsigned int)cocos2d::CCArray::count(v6) ) { v7 = v5++; v9 = *(_DWORD *)(cocos2d::CCArray::objectAtIndex(v6, v7) + 56); *(_DWORD *)std::unordered_map::operator[]((__int64)v2, &v9) = 0; *(_BYTE *)std::unordered_map::operator[]((__int64)v3, &v9) = 0; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source