//
// GJOptionsLayer::offsetToNextPage from 0x5d4706 to 0x5d4724 (30 bytes)
//
// 1 xrefs:
// > EditorOptionsLayer::setupOptions @ 0x5e1a24
//
// 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:54:07 +0000
//
int __fastcall GJOptionsLayer::offsetToNextPage(GJOptionsLayer *this)
{
int v2; // r4
int v3; // r6
v2 = *((_DWORD *)this + 180);
v3 = *((_DWORD *)this + 181);
*((_DWORD *)this + 181) = v3 + v2 - v3 % v2;
return v3 / v2;
}