// // BoomScrollLayer::getRelativePageForNum from 0x1003a6270 to 0x1003a62cb (91 bytes) // // 2 xrefs: // > ListButtonBar::getPage @ 0x1003f0482 // > EditButtonBar::getPage @ 0x1005e2552 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall BoomScrollLayer::getRelativePageForNum(BoomScrollLayer *a1, int a2) { int v2; // ecx v2 = sub_100720070(*((_QWORD *)&a1->m_dynamicObjects + 4 * !a1->m_dynamic)); if ( a2 <= 0 ) return a2 + v2 * ((a2 != 0) + ((unsigned __int64)-__SPAIR64__(a2, a2) >> 32) / ((unsigned int)(v2 == 0) + v2)); else return a2 % v2; }