// // LevelListLayer::cellPerformedAction from 0x6d5c2c to 0x6d5d46 (282 bytes) // // 1 xrefs: // > `non-virtual thunk to'LevelListLayer::cellPerformedAction @ 0x6d5d4c // // 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:57:06 +0000 // int (__fastcall ***__fastcall LevelListLayer::cellPerformedAction( int a1, LevelCell *this, int a3, int a4, int a5))(_DWORD) { SetLevelOrderPopup *v8; // r5 int v9; // r3 int v10; // r0 float v11; // s15 int v12; // r0 int v13; // r4 int v14; // r6 int v15; // r0 int v16; // r3 FLAlertLayer *v17; // r0 int v18; // r3 FLAlertLayer *v19; // r5 int v20; // r3 if ( a3 != 29 || !a4 ) return LevelBrowserLayer::cellPerformedAction((_DWORD *)a1, this, a3, a4); v8 = (SetLevelOrderPopup *)(*(_DWORD *)(*((_DWORD *)this + 106) + 268) - *(_DWORD *)(*((_DWORD *)this + 106) + 272)); *(_DWORD *)(a1 + 572) = 0; v9 = *(_DWORD *)(a1 + 472); if ( v9 ) { v10 = *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(v9 + 440) + 324) + 364); v11 = *(float *)((*(int (__fastcall **)(int))(*(_DWORD *)v10 + 96))(v10) + 4); *(float *)(a1 + 572) = v11; switch ( a4 ) { case 2: v20 = *(_DWORD *)(a1 + 472); if ( v20 ) *(float *)(a1 + 572) = v11 + *(float *)(*(_DWORD *)(v20 + 440) + 344); goto LABEL_9; case 3: case 4: goto LABEL_5; case 5: goto LABEL_6; default: return (int (__fastcall ***)(_DWORD))(&dword_0 + 1); } } else { switch ( a4 ) { case 2: LABEL_9: GJLevelList::removeLevelFromList( *(GJLevelList **)(a1 + 640), *(_DWORD *)(*((_DWORD *)this + 106) + 268) - *(_DWORD *)(*((_DWORD *)this + 106) + 272), a3, *(_DWORD *)(*((_DWORD *)this + 106) + 272)); goto LABEL_10; case 3: case 4: LABEL_5: GJLevelList::reorderLevelStep(*(GJLevelList **)(a1 + 640), (int)v8, a4 == 3); LABEL_10: LevelBrowserLayer::setupLevelBrowser((LevelBrowserLayer *)a1, nullptr); LevelListLayer::updateEditMode((CCMenuItemToggler *)a1); break; case 5: LABEL_6: v12 = GJLevelList::orderForLevel(*(GJLevelList **)(a1 + 640), (int)v8); v13 = a1 + 448; v14 = v12; v15 = GJLevelList::totalLevels(*(GJLevelList **)(v13 + 192)); v17 = SetLevelOrderPopup::create(v8, v14 + 1, v15, v16); v18 = *(_DWORD *)v17; v19 = v17; *((_DWORD *)v17 + 136) = v13; (*(void (__fastcall **)(FLAlertLayer *, int))(v18 + 36))(v17, 1003); (*(void (__fastcall **)(FLAlertLayer *))(*(_DWORD *)v19 + 656))(v19); break; default: return (int (__fastcall ***)(_DWORD))(&dword_0 + 1); } } return (int (__fastcall ***)(_DWORD))(&dword_0 + 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source