// // LocalLevelManager::postFileResults from 0x911020 to 0x911264 (580 bytes) // // 3 xrefs: // > @ 0x8e618 // > LocalLevelManager::queueFileResults @ 0x910ca8 // > @ 0x1543c70 // // 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:57:16 +0000 // __int64 __fastcall LocalLevelManager::postFileResults(LocalLevelManager *this, float a2) { cocos2d::CCNotificationCenter *v3; // x0 cocos2d::CCNotificationCenter *v4; // x22 int v5; // w23 cocos2d::CCObject *v6; // x21 const char *v7; // x1 cocos2d::CCString *v8; // x0 const char *CString; // x1 size_t v10; // x0 cocos2d::CCDirector *v11; // x0 __int64 *v12; // x21 __int64 v13; // x1 void (__fastcall *v14)(__int64 *, __int64, __int64); // x24 __int64 v15; // x0 char *v17; // [xsp+48h] [xbp+48h] __int64 v18; // [xsp+50h] [xbp+50h] BYREF size_t v19; // [xsp+58h] [xbp+58h] void *v20; // [xsp+60h] [xbp+60h] __int64 v21; // [xsp+68h] [xbp+68h] BYREF size_t v22; // [xsp+70h] [xbp+70h] void *v23; // [xsp+78h] [xbp+78h] __int64 v24[2]; // [xsp+80h] [xbp+80h] BYREF void *v25; // [xsp+90h] [xbp+90h] v3 = (cocos2d::CCNotificationCenter *)*((unsigned int *)this + 147); if ( ((unsigned int)v3 & 0x80000000) == 0 ) { v4 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(v3); v5 = *((_DWORD *)this + 147); v6 = (cocos2d::CCObject *)operator new(0x40u); cocos2d::CCObject::CCObject(v6); *((_DWORD *)v6 + 14) = v5; *(_QWORD *)v6 = &off_1428350; cocos2d::CCObject::autorelease(v6); cocos2d::CCNotificationCenter::postNotification(v4, "LevelsImportedNotification", v6); *((_DWORD *)this + 147) = -1; } v7 = (const char *)*((unsigned int *)this + 148); if ( (int)v7 > 0 ) { if ( (_DWORD)v7 == 1 ) { CString = "Level exported!"; } else { v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i levels exported!", v7); CString = (const char *)cocos2d::CCString::getCString(v8); } v17 = (char *)CString; v18 = 0; v19 = 0; v20 = nullptr; v10 = strlen(CString); v11 = (cocos2d::CCDirector *)std::string::__init(&v18, v17, v10); v12 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v11) + 272); v13 = *v12; v21 = 0; v22 = 0; v23 = nullptr; v14 = *(void (__fastcall **)(__int64 *, __int64, __int64))(v13 + 464); if ( (v18 & 1) != 0 ) { std::string::__init(&v21, v20, v19); } else { v23 = v20; v21 = v18; v22 = v19; } v24[0] = 0; v24[1] = 0; v25 = nullptr; std::string::__init(v24, &byte_11B8890, 0); v15 = TextAlertPopup::create(&v21, 150, v24, 0.5, 0.6); v14(v12, v15, 100); if ( (v24[0] & 1) != 0 ) operator delete(v25); if ( (v21 & 1) != 0 ) operator delete(v23); if ( (v18 & 1) != 0 ) operator delete(v20); } *((_DWORD *)this + 148) = -1; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source