// // LevelInfoLayer::levelDownloadFinished from 0x7e9be0 to 0x7e9ed8 (760 bytes) // // 3 xrefs: // > `non-virtual thunk to'LevelInfoLayer::levelDownloadFinished @ 0x7e9edc // > @ 0x873d0 // > @ 0x143c0e8 // // 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:54:31 +0000 // __int64 __fastcall LevelInfoLayer::levelDownloadFinished(LevelInfoLayer *this, GJGameLevel *a2) { __int64 v4; // x0 cocos2d::CCObject *v6; // x0 __int64 v7; // x1 __int64 v8; // x22 void (__fastcall *v9)(__int64, _QWORD); // x23 unsigned int v10; // w0 __int64 v11; // x0 char v12; // w1 __int64 v13; // x23 __int64 v14; // x4 __int64 v15; // x5 __int64 v16; // x5 cocos2d::CCSpriteFrameCache **v17; // x22 void (__fastcall *v18)(cocos2d::CCSpriteFrameCache **, __int64); // x23 cocos2d::CCSpriteFrameCache *v19; // x0 char *v20; // x1 __int64 v21; // x0 __int64 v22; // [xsp+48h] [xbp+48h] BYREF __int64 v23; // [xsp+50h] [xbp+50h] void *v24; // [xsp+58h] [xbp+58h] __int64 v25; // [xsp+60h] [xbp+60h] BYREF __int64 v26; // [xsp+68h] [xbp+68h] char *v27; // [xsp+70h] [xbp+70h] v4 = *((_QWORD *)this + 63); if ( !v4 || *(_DWORD *)(v4 + 328) - *(_DWORD *)(v4 + 332) == *((_DWORD *)a2 + 82) - *((_DWORD *)a2 + 83) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 81) + 344LL))(*((_QWORD *)this + 81), 0); v6 = *((cocos2d::CCObject **)this + 63); if ( v6 ) cocos2d::CCObject::release(v6); *((_QWORD *)this + 63) = a2; cocos2d::CCObject::retain(a2); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 62) + 344LL))(*((_QWORD *)this + 62), 1); LevelInfoLayer::updateLabelValues(this); v7 = *((_QWORD *)this + 76); if ( v7 ) { (*(void (__fastcall **)(_QWORD, bool))(*(_QWORD *)v7 + 344LL))( *((_QWORD *)this + 76), *(_DWORD *)(*((_QWORD *)this + 63) + 980LL) != *(_DWORD *)(*((_QWORD *)this + 63) + 984LL)); if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**((_QWORD **)this + 76) + 352LL))(*((_QWORD *)this + 76)) ) { v25 = 0; v26 = 0; v27 = nullptr; std::string::__init(&v25, "GJ_duplicateBtn_001.png", 0x17u); if ( *(_DWORD *)(*((_QWORD *)this + 63) + 980LL) - *(_DWORD *)(*((_QWORD *)this + 63) + 984LL) != 1 ) std::string::assign(&v25, "GJ_duplicateLockedBtn_001.png"); v17 = (cocos2d::CCSpriteFrameCache **)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 76) + 1072LL))(*((_QWORD *)this + 76)); v18 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v17 + 145); v19 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v17); v20 = (char *)&v25 + 1; if ( (v25 & 1) != 0 ) v20 = v27; v21 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v19, v20); v18(v17, v21); if ( (v25 & 1) != 0 ) operator delete(v27); } v8 = *((_QWORD *)this + 76); v9 = *(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 1056LL); v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 352LL))(v8); v9(v8, v10); } v11 = *((_QWORD *)this + 63); v22 = 0; v23 = 0; v12 = *(_BYTE *)(v11 + 1240); v24 = nullptr; v13 = *((_QWORD *)this + 92); if ( (v12 & 1) != 0 ) { std::string::__init(&v22, *(void **)(v11 + 1256), *(_QWORD *)(v11 + 1248)); v11 = *((_QWORD *)this + 63); } else { v14 = *(_QWORD *)(v11 + 1240); v15 = *(_QWORD *)(v11 + 1248); v24 = *(void **)(v11 + 1256); v22 = v14; v23 = v15; } v25 = 0; v26 = 0; v27 = nullptr; if ( (*(_BYTE *)(v11 + 1264) & 1) != 0 ) { std::string::__init(&v25, *(void **)(v11 + 1280), *(_QWORD *)(v11 + 1272)); v11 = *((_QWORD *)this + 63); } else { v16 = *(_QWORD *)(v11 + 1272); v25 = *(_QWORD *)(v11 + 1264); v26 = v16; v27 = *(char **)(v11 + 1280); } CustomSongWidget::updateWithMultiAssets(v13, &v22, &v25, *(unsigned int *)(v11 + 1288)); if ( (v25 & 1) != 0 ) operator delete(v27); if ( (v22 & 1) != 0 ) operator delete(v24); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source