// // LevelInfoLayer::levelDownloadFinished from 0x49ccc8 to 0x49ce54 (396 bytes) // // 1 xrefs: // > `non-virtual thunk to'LevelInfoLayer::levelDownloadFinished @ 0x49ce64 // // 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:49:46 +0000 // int __fastcall LevelInfoLayer::levelDownloadFinished(int this, GJGameLevel *a2) { int v2; // r4 int v4; // r2 cocos2d::CCObject *v5; // r0 int v6; // r0 cocos2d::CCSpriteFrameCache *v7; // r6 void (__fastcall *v8)(cocos2d::CCSpriteFrameCache *, int); // r8 cocos2d::CCSpriteFrameCache *v9; // r0 char *v10; // r1 int v11; // r0 int v12; // r6 void (__fastcall *v13)(int, int); // r8 int v14; // r0 int v15; // r8 int v16[3]; // [sp+4h] [bp-1Ch] BYREF int v17[2]; // [sp+10h] [bp-10h] BYREF char *v18; // [sp+18h] [bp-8h] v2 = this; v4 = *(_DWORD *)(this + 364); if ( !v4 || *(_DWORD *)(v4 + 268) - *(_DWORD *)(v4 + 272) == *((_DWORD *)a2 + 67) - *((_DWORD *)a2 + 68) ) { (*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(this + 440) + 172))(*(_DWORD *)(this + 440), 0); v5 = *(cocos2d::CCObject **)(v2 + 364); if ( v5 ) cocos2d::CCObject::release(v5); *(_DWORD *)(v2 + 364) = a2; cocos2d::CCObject::retain(a2); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(v2 + 360) + 172))(*(_DWORD *)(v2 + 360), 1); LevelInfoLayer::updateLabelValues((LevelInfoLayer *)v2); v6 = *(_DWORD *)(v2 + 416); if ( v6 ) { (*(void (__fastcall **)(int, bool))(*(_DWORD *)v6 + 172))( v6, *(_DWORD *)(*(_DWORD *)(v2 + 364) + 804) != *(_DWORD *)(*(_DWORD *)(v2 + 364) + 808)); if ( (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v2 + 416) + 176))(*(_DWORD *)(v2 + 416)) ) { v17[0] = 0; v17[1] = 0; v18 = nullptr; std::string::__init(v17, "GJ_duplicateBtn_001.png", 0x17u); if ( *(_DWORD *)(*(_DWORD *)(v2 + 364) + 804) - *(_DWORD *)(*(_DWORD *)(v2 + 364) + 808) != 1 ) std::string::assign(v17, "GJ_duplicateLockedBtn_001.png"); v7 = (cocos2d::CCSpriteFrameCache *)(*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v2 + 416) + 536))(*(_DWORD *)(v2 + 416)); v8 = *(void (__fastcall **)(cocos2d::CCSpriteFrameCache *, int))(*(_DWORD *)v7 + 580); v9 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v7); if ( (v17[0] & 1) != 0 ) v10 = v18; else v10 = (char *)v17 + 1; v11 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v9, v10); v8(v7, v11); std::string::~string((int)v17); } v12 = *(_DWORD *)(v2 + 416); v13 = *(void (__fastcall **)(int, int))(*(_DWORD *)v12 + 528); v14 = (*(int (__fastcall **)(int))(*(_DWORD *)v12 + 176))(v12); v13(v12, v14); } v15 = *(_DWORD *)(v2 + 492); std::string::basic_string(v16, *(_DWORD *)(v2 + 364) + 1008); std::string::basic_string(v17, *(_DWORD *)(v2 + 364) + 1020); CustomSongWidget::updateWithMultiAssets(v15, v16, v17, *(_DWORD *)(*(_DWORD *)(v2 + 364) + 1032)); std::string::~string((int)v17); return std::string::~string((int)v16); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source