// // LevelPickerPopup::setupList from 0x7479a0 to 0x747ab4 (276 bytes) // // 2 xrefs: // > LevelPickerPopup::loadLevelsFinished @ 0x74ed00 // > LevelPickerPopup::buildSavedPage @ 0x75a924 // // 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:43 +0000 // int __fastcall LevelPickerPopup::setupList(LevelPickerPopup *this, cocos2d::CCArray *a2) { int v4; // r0 cocos2d::CCTouchDispatcher *v5; // r0 int v6; // r3 cocos2d::CCLayer *v7; // r0 cocos2d::CCLayerColor *v8; // r0 float v9; // s14 float v10; // s13 float v11; // s11 cocos2d::CCLayerColor *v12; // r7 void (__fastcall *v13)(cocos2d::CCLayerColor *, _BYTE *); // r8 _BYTE v15[8]; // [sp+14h] [bp-Ch] BYREF if ( *((_DWORD *)this + 152) ) { v4 = cocos2d::CCDirector::sharedDirector(this); v5 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v4 + 80))(v4); cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, *((cocos2d::CCObject **)this + 152)); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 152) + 264))(*((_DWORD *)this + 152), 1); *((_DWORD *)this + 152) = 0; } PagedListPopup::clearStatus(this); if ( a2 && cocos2d::CCArray::count(a2) ) { if ( *((_BYTE *)this + 613) ) v6 = 39; else v6 = 37; v7 = CustomListView::create(a2, (int)this + 600, *((_DWORD *)this + 139), *((_DWORD *)this + 138), 0, v6, 0); } else { v7 = nullptr; } v8 = GJCommentListLayer::create( (int)v7, (int)&unk_B6B226, -12684609, *((float *)this + 138), *((float *)this + 139), 0); v9 = *((float *)this + 139); v10 = *((float *)this + 141); v11 = *((float *)this + 140) - (float)(*((float *)this + 138) * 0.5); *((_DWORD *)this + 152) = v8; v12 = v8; v13 = *(void (__fastcall **)(cocos2d::CCLayerColor *, _BYTE *))(*(_DWORD *)v8 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, v11, v10 - (float)(v9 * 0.5)); v13(v12, v15); return (*(int (__fastcall **)(_DWORD, _DWORD, int))(**((_DWORD **)this + 115) + 232))( *((_DWORD *)this + 115), *((_DWORD *)this + 152), 2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source