// // BoomScrollLayer::getPage from 0x3c1440 to 0x3c147a (58 bytes) // // 12 xrefs: // > BoomScrollLayer::repositionPagesLooped @ 0x3c1a0e // > BoomScrollLayer::repositionPagesLooped @ 0x3c1a40 // > BoomScrollLayer::repositionPagesLooped @ 0x3c1a68 // > BoomScrollLayer::repositionPagesLooped @ 0x3c1abe // > BoomScrollLayer::repositionPagesLooped @ 0x3c1acc // > BoomScrollLayer::repositionPagesLooped @ 0x3c1ada // > BoomScrollLayer::repositionPagesLooped @ 0x3c1b40 // > BoomScrollLayer::repositionPagesLooped @ 0x3c1b4a // > BoomScrollLayer::repositionPagesLooped @ 0x3c1b54 // > LevelSelectLayer::onDeathTracker @ 0x513622 // > LevelSelectLayer::onPlay @ 0x51408c // > LevelSelectLayer::onInfo @ 0x5150de // // 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:46:31 +0000 // int __fastcall BoomScrollLayer::getPage(BoomScrollLayer *this, unsigned int a2) { int v3; // r3 int v4; // r4 cocos2d::CCArray *v5; // r0 int v6; // r0 v3 = *((unsigned __int8 *)this + 348); v4 = a2; v5 = *((cocos2d::CCArray **)this + 91); if ( v3 ) { v6 = cocos2d::CCArray::count(v5); if ( v4 <= 0 ) { while ( v4 < 0 ) v4 += v6; } else { v4 %= v6; } v5 = *((cocos2d::CCArray **)this + 91); a2 = v4; } return cocos2d::CCArray::objectAtIndex(v5, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source