// // GameLevelManager::getLocalLevel from 0x14021bf80 to 0x14021bfe4 (100 bytes) // // 3 xrefs: // > GameLevelManager::onUploadLevelCompleted @ 0x14022a200 // > GameLevelManager::onUploadLevelCompleted @ 0x14022a22d // > @ 0x14091ba40 // // This function is hookable on this platform (idp: pc, 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 11:28:23 +0000 // struct cocos2d::CCObject *__fastcall GameLevelManager::getLocalLevel(__int64 a1, int a2) { unsigned int v3; // ebx cocos2d::CCArray *v4; // rdi struct cocos2d::CCObject *result; // rax v3 = 0; v4 = *(cocos2d::CCArray **)(LocalLevelManager::sharedState(a1) + 368); if ( !cocos2d::CCArray::count(v4) ) return nullptr; while ( 1 ) { result = cocos2d::CCArray::objectAtIndex(v4, v3); if ( *((_DWORD *)result + 306) == a2 ) break; if ( ++v3 >= cocos2d::CCArray::count(v4) ) return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source