// // GameLevelManager::getLocalLevelByName from 0x80a450 to 0x80a560 (272 bytes) // // 2 xrefs: // > MapSelectLayer::init @ 0xac4440 // > @ 0xe0878 // // 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:54:47 +0000 // __int64 __fastcall GameLevelManager::getLocalLevelByName(__int64 a1, __int64 a2) { unsigned int v3; // w20 cocos2d::CCArray *v4; // x22 __int64 v5; // x21 char v6; // w0 __int64 v7; // x0 __int64 v8; // x1 _BOOL4 v9; // w23 __int64 v11; // [xsp+50h] [xbp+50h] BYREF __int64 v12; // [xsp+58h] [xbp+58h] void *v13; // [xsp+60h] [xbp+60h] v3 = 0; v4 = *(cocos2d::CCArray **)(LocalLevelManager::sharedState(_stack_chk_guard) + 360); if ( (unsigned int)cocos2d::CCArray::count(v4) ) { do { v5 = cocos2d::CCArray::objectAtIndex(v4, v3); v6 = *(_BYTE *)(v5 + 344); v11 = 0; v12 = 0; v13 = nullptr; if ( (v6 & 1) != 0 ) { std::string::__init(&v11, *(void **)(v5 + 360), *(_QWORD *)(v5 + 352)); } else { v7 = *(_QWORD *)(v5 + 344); v8 = *(_QWORD *)(v5 + 352); v13 = *(void **)(v5 + 360); v11 = v7; v12 = v8; } v9 = sub_7FEA60((__int64)&v11, a2); if ( (v11 & 1) != 0 ) { operator delete(v13); if ( v9 ) return v5; } else if ( v9 ) { return v5; } ++v3; } while ( v3 < (unsigned int)cocos2d::CCArray::count(v4) ); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source