// // LocalLevelManager::postFileResults from 0x542abc to 0x542be8 (300 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:20 +0000 // int *__fastcall LocalLevelManager::postFileResults(int *this, float a2) { int *v2; // r5 cocos2d::CCNotificationCenter *v3; // r0 int v4; // r8 cocos2d::CCNotificationCenter *v5; // r7 cocos2d::CCObject *v6; // r6 const char *v7; // r1 cocos2d::CCString *v8; // r0 const char *CString; // r7 size_t v10; // r0 cocos2d::CCDirector *v11; // r0 int v12; // r9 void (__fastcall *v13)(int, int, int); // r10 int v14; // r0 int v15[3]; // [sp+8h] [bp-28h] BYREF int v16[3]; // [sp+14h] [bp-1Ch] BYREF int v17[3]; // [sp+20h] [bp-10h] BYREF v2 = this; if ( *(this + 97) >= 0 ) { v3 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter((cocos2d::CCNotificationCenter *)this); v4 = v2[97]; v5 = v3; v6 = (cocos2d::CCObject *)operator new(0x38u); cocos2d::CCObject::CCObject(v6); *((_DWORD *)v6 + 13) = v4; *(_DWORD *)v6 = &off_C8DBE0; cocos2d::CCObject::autorelease(v6); this = (int *)cocos2d::CCNotificationCenter::postNotification(v5, "LevelsImportedNotification", v6); v2[97] = -1; } v7 = (const char *)v2[98]; if ( (int)v7 > 0 ) { if ( v7 == (_BYTE *)&dword_0 + 1 ) { CString = "Level exported!"; } else { v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i levels exported!", v7); CString = (const char *)cocos2d::CCString::getCString(v8); } memset(v15, 0, sizeof(v15)); v10 = strlen(CString); v11 = (cocos2d::CCDirector *)std::string::__init(v15, CString, v10); v12 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector(v11) + 220); v13 = *(void (__fastcall **)(int, int, int))(*(_DWORD *)v12 + 232); std::string::basic_string(v16, (int)v15); memset(v17, 0, sizeof(v17)); std::string::__init(v17, &unk_B6B226, 0); v14 = TextAlertPopup::create(v16, 1056964608, 1058642330, 150, v17); v13(v12, v14, 100); std::string::~string((int)v17); std::string::~string((int)v16); this = (int *)std::string::~string((int)v15); } v2[98] = -1; return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source