// // GameLevelManager::onDeleteLevelControlsCompleted from 0x8342a4 to 0x834500 (604 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x85b5cc // > @ 0x56680 // // 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:55:10 +0000 // __int64 __fastcall GameLevelManager::onDeleteLevelControlsCompleted( GameLevelManager *a1, __int64 a2, unsigned __int8 *a3) { const char *v5; // x0 unsigned int v6; // w23 _BOOL4 v7; // w21 __int64 v8; // x0 char *v9; // x19 char *v10; // x0 void (__fastcall ***v12)(_QWORD, _QWORD, __int64); // x0 char *v13; // x19 void *v15; // [xsp+50h] [xbp+50h] BYREF char *v16; // [xsp+58h] [xbp+58h] __int64 v17; // [xsp+60h] [xbp+60h] __int64 v18[2]; // [xsp+68h] [xbp+68h] BYREF void *v19; // [xsp+78h] [xbp+78h] __int64 v20[2]; // [xsp+80h] [xbp+80h] BYREF void *v21; // [xsp+90h] [xbp+90h] cocos2d::CCDictionary::removeObjectForKey(*((_QWORD *)a1 + 136), a3); v15 = nullptr; v16 = nullptr; v17 = 0; sub_833ACC(a3, &byte_11528B0, (__int64 *)&v15); if ( 0xAAAAAAAAAAAAAAABLL * ((v16 - (_BYTE *)v15) >> 3) <= 1 ) { v6 = 0; } else { v5 = (char *)v15 + 25; if ( (*((_BYTE *)v15 + 24) & 1) != 0 ) v5 = *((const char **)v15 + 5); v6 = atoi(v5); } v18[0] = 0; v18[1] = 0; v19 = nullptr; std::string::__init(v18, &word_117CE08, 2u); v7 = sub_7FEA60(a2, (__int64)v18); if ( (v18[0] & 1) != 0 ) { operator delete(v19); if ( v7 ) { LABEL_7: v8 = *((_QWORD *)a1 + 170); if ( v8 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v8 + 8LL))(v8, v6, 29); v9 = (char *)v15; if ( v15 ) { v10 = v16; if ( v15 != v16 ) { do { v16 = v10 - 24; std::string::~string((__int64)(v10 - 24)); v10 = v16; } while ( v9 != v16 ); v10 = (char *)v15; } LABEL_13: operator delete(v10); return _stack_chk_guard; } return _stack_chk_guard; } } else if ( v7 ) { goto LABEL_7; } v20[0] = 0; v20[1] = 0; v21 = nullptr; std::string::__init(v20, &byte_11B8890, 0); GameLevelManager::setLevelControlsTemplate(a1, (const char *)v6, (__int64)v20, 0); if ( (v20[0] & 1) != 0 ) operator delete(v21); v12 = *((void (__fastcall ****)(_QWORD, _QWORD, __int64))a1 + 170); if ( v12 ) (**v12)(v12, v6, 29); v13 = (char *)v15; if ( v15 ) { v10 = v16; if ( v15 != v16 ) { do { v16 = v10 - 24; std::string::~string((__int64)(v10 - 24)); v10 = v16; } while ( v13 != v16 ); v10 = (char *)v15; } goto LABEL_13; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source