// // GJColorSetupLayer::onPage from 0x14035f670 to 0x14035f6bf (79 bytes) // // 2 xrefs: // > GJColorSetupLayer::init @ 0x14035f074 // > @ 0x1409212a8 // // 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:30:52 +0000 // __int64 __fastcall GJColorSetupLayer::onPage(__int64 a1, __int64 a2) { int v3; // eax int v4; // edx int v5; // ecx int v6; // edx int v7; // edx v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v4 = 1; if ( v3 ) v4 = -1; v5 = 0; v6 = *(_DWORD *)(a1 + 720) + v4; if ( v6 >= 0 ) v5 = v6; v7 = *(_DWORD *)(a1 + 728) - 1; if ( v7 >= v5 ) v7 = v5; *(_DWORD *)(a1 + 720) = v7; return GJColorSetupLayer::showPage(a1); }