// // GameLevelManager::onAdminCloseCaseCompleted from 0x810f50 to 0x81111c (460 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x85b6c8 // > @ 0xe7d78 // // 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:50 +0000 // __int64 __fastcall GameLevelManager::onAdminCloseCaseCompleted(__int64 a1, unsigned __int8 *a2, char *a3) { char *v6; // x19 __int64 v7; // x25 size_t v8; // x0 unsigned int v9; // w22 _BOOL4 v10; // w19 __int64 v11; // x0 unsigned int v13; // w21 cocos2d::CCArray *v14; // x19 unsigned int v15; // w0 _BOOL8 v16; // x3 cocos2d::CCString *v17; // x0 __int64 v18; // x0 cocos2d::CCString *v19; // x0 __int64 v20; // [xsp+50h] [xbp+50h] BYREF __int64 v21; // [xsp+58h] [xbp+58h] void *v22; // [xsp+60h] [xbp+60h] v6 = a3 + 1; v7 = *(_QWORD *)(a1 + 1088); if ( (*a3 & 1) != 0 ) v6 = *((char **)a3 + 2); v20 = 0; v21 = 0; v22 = nullptr; v8 = strlen(v6); std::string::__init(&v20, v6, v8); cocos2d::CCDictionary::removeObjectForKey(v7, &v20); if ( (v20 & 1) != 0 ) operator delete(v22); v9 = sub_7FF0C0((__int64)a3); v20 = 0; v21 = 0; v22 = nullptr; std::string::__init(&v20, &word_117CE08, 2u); v10 = sub_7FEA60((__int64)a2, (__int64)&v20); if ( (v20 & 1) != 0 ) { operator delete(v22); if ( v10 ) { LABEL_7: v11 = *(_QWORD *)(a1 + 1256); if ( v11 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 344LL))(v11, v9); return _stack_chk_guard; } } else if ( v10 ) { goto LABEL_7; } v13 = 0; v14 = sub_80CFCC(a2, ":"); if ( (unsigned int)cocos2d::CCArray::count(v14) ) { v19 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v14, 0); v13 = cocos2d::CCString::intValue(v19); } v15 = cocos2d::CCArray::count(v14); v16 = 0; if ( v15 > 1 ) { v17 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v14, 1u); v16 = (unsigned int)cocos2d::CCString::intValue(v17) != 0; } v18 = *(_QWORD *)(a1 + 1256); if ( v18 ) (*(void (__fastcall **)(__int64, _QWORD, _QWORD, _BOOL8))(*(_QWORD *)v18 + 336LL))(v18, v9, v13, v16); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source