// // LevelBadgePopup::loadLevelsFailed from 0x74ef3c to 0x74f050 (276 bytes) // // 1 xrefs: // > `non-virtual thunk to'LevelBadgePopup::loadLevelsFailed @ 0x74f068 // // 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:58:49 +0000 // GameLevelManager *__fastcall LevelBadgePopup::loadLevelsFailed(GameLevelManager *this, char *a2, int a3) { GameLevelManager *v3; // r4 int v5; // r5 int v6; // r5 GameLevelManager *v7; // r0 int v8; // r1 int v9; // r2 cocos2d::CCNode **v10; // r0 int v11; // r9 void (__fastcall *v12)(int, cocos2d::CCNode *, int); // r10 const char *v13; // r7 size_t v14; // r0 cocos2d::CCNode *v15; // r0 int v16[3]; // [sp+Ch] [bp-1Ch] BYREF int v17[3]; // [sp+18h] [bp-10h] BYREF v3 = this; if ( !a2 || ((this = (GameLevelManager *)strlen(a2), v5 = *((unsigned __int8 *)v3 + 548), (v5 & 1) != 0) ? (v6 = *((_DWORD *)v3 + 138)) : (v6 = v5 >> 1), this == (GameLevelManager *)v6 && (this = (GameLevelManager *)std::string::compare((unsigned __int8 *)v3 + 548, 0, 0xFFFFFFFF, a2, (size_t)this)) == nullptr) ) { v7 = (GameLevelManager *)GameLevelManager::sharedState(this); v9 = *((_DWORD *)v7 + 205); if ( (GameLevelManager *)v9 == (GameLevelManager *)((char *)v3 + 520) ) *(_DWORD *)(GameLevelManager::sharedState(v7) + 820) = 0; v10 = *((cocos2d::CCNode ***)v3 + 140); if ( v10 ) { v10 = (cocos2d::CCNode **)LoadingCircle::fadeAndRemove(v10, v8, v9); *((_DWORD *)v3 + 140) = 0; } v11 = *(_DWORD *)(cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v10) + 220); v12 = *(void (__fastcall **)(int, cocos2d::CCNode *, int))(*(_DWORD *)v11 + 232); if ( *((_BYTE *)v3 + 528) ) v13 = "List not found"; else v13 = "Level not found"; memset(v16, 0, sizeof(v16)); v14 = strlen(v13); std::string::__init(v16, v13, v14); memset(v17, 0, sizeof(v17)); std::string::__init(v17, &unk_B6B226, 0); v15 = TextAlertPopup::create((int)v16, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v17); v12(v11, v15, 1000); std::string::~string((int)v17); std::string::~string((int)v16); return (GameLevelManager *)LevelBadgePopup::onClose(v3, nullptr); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source