//
// GJOptionsLayer::offsetToNextPage from 0xa1f730 to 0xa1f748 (24 bytes)
//
// 2 xrefs:
// > EditorOptionsLayer::setupOptions @ 0xa35524
// > ??> @ 0xfa180
//
// 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 12:59:39 +0000
//
__int64 __fastcall GJOptionsLayer::offsetToNextPage(__int64 this)
{
*(_DWORD *)(this + 1024) = *(_DWORD *)(this + 1020)
+ *(_DWORD *)(this + 1024) / *(_DWORD *)(this + 1020) * *(_DWORD *)(this + 1020);
return this;
}