//
// MoreOptionsLayer::offsetToNextPage from 0x52cdc8 to 0x52cde6 (30 bytes)
//
// 5 xrefs:
// > MoreOptionsLayer::init @ 0x532d8a
// > MoreOptionsLayer::init @ 0x532e9c
// > MoreOptionsLayer::init @ 0x5330b4
// > MoreOptionsLayer::init @ 0x533192
// > MoreOptionsLayer::init @ 0x5331f8
//
// 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:52:01 +0000
//
int __fastcall MoreOptionsLayer::offsetToNextPage(MoreOptionsLayer *this)
{
int v1; // r5
int result; // r0
v1 = *((_DWORD *)this + 133);
result = v1 / 10;
if ( v1 % 10 )
*((_DWORD *)this + 133) = 10 - v1 % 10 + v1;
return result;
}