// // BoomListView::restoreListOffset from 0x14003fae0 to 0x14003fc14 (308 bytes) // // 6 xrefs: // > CustomListView::setupList @ 0x140146437 // > CustomListView::setupList @ 0x140146450 // > CustomListView::setupList @ 0x1401465eb // > @ 0x140884a6c // > @ 0x140884a7c // > @ 0x14090f344 // // This function is hookable on this platform (idp: pc, 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 11:25:29 +0000 // char __fastcall BoomListView::restoreListOffset(__int64 a1, float a2) { __int64 v3; // rsi float v4; // xmm6_4 __int64 v5; // rdi __int64 v6; // rbx __int64 v7; // rsi __int64 v8; // rdi __int64 v9; // rbx float *v10; // rax __int64 v11; // rax __int64 v12; // rbx char v14; // [rsp+50h] [rbp+18h] BYREF if ( a2 == 0.0 || *(_BYTE *)(a1 + 460) ) return 0; v3 = *(_QWORD *)(a1 + 424); v4 = fminf(*(float *)(v3 + 500), a2); v5 = *(_QWORD *)(v3 + 480); v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 320LL))(v3); if ( (float)((float)(*(float *)(v6 + 4) - *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 320LL))(v5) + 4)) - *(float *)(v3 + 496)) > v4 ) { v7 = *(_QWORD *)(a1 + 424); v8 = *(_QWORD *)(v7 + 480); v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 320LL))(v7); v4 = (float)(*(float *)(v9 + 4) - *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 320LL))(v8) + 4)) - *(float *)(v7 + 496); } v10 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 424) + 480LL) + 200LL))(*(_QWORD *)(*(_QWORD *)(a1 + 424) + 480LL)); v11 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, *v10, v4); v12 = *(_QWORD *)(a1 + 424); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v12 + 480) + 184LL))(*(_QWORD *)(v12 + 480), v11); CCScrollLayerExt::doConstraintContent(v12, 0); return 1; }