// // TabbedPopupLayer::offsetToNextPage from 0xc38160 to 0xc381cc (108 bytes) // // 2 xrefs: // > GameSettingsLayer::buildTabContent @ 0xc07b58 // > @ 0xc0580 // // 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 13:04:52 +0000 // unsigned __int64 __fastcall TabbedPopupLayer::offsetToNextPage(unsigned __int64 this, int a2) { int v2; // w2 __int64 v3; // x4 __int64 v4; // x2 int v5; // w3 v2 = *(_DWORD *)(this + 1068); if ( (v2 & 0x80000000) == 0 ) { v3 = *(_QWORD *)(this + 1016); this = 0x8E38E38E38E38E39LL * ((*(_QWORD *)(this + 1024) - v3) >> 3); if ( v2 < (int)this && a2 > 0 ) { v4 = v3 + 72LL * v2; v5 = *(_DWORD *)(v4 + 60); this = (unsigned int)(v5 % a2); if ( (_DWORD)this ) *(_DWORD *)(v4 + 60) = v5 + a2 - this; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source