// // BoomScrollLayer::getPage from 0x1003a5e30 to 0x1003a5ea1 (113 bytes) // // 3 xrefs: // > LevelSelectLayer::onInfo @ 0x100432a51 // > LevelSelectLayer::keyDown @ 0x100434832 // > LevelSelectLayer::onPlay @ 0x10043494b // // 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 // cocos2d::CCLayer *__fastcall BoomScrollLayer::getPage(BoomScrollLayer *a1, int a2) { cocos2d::CCArray *m_pages; // rdi int v4; // ecx unsigned __int64 v5; // rsi m_pages = a1->m_pages; if ( !a1->m_dynamic ) return (cocos2d::CCLayer *)sub_1007200C0(m_pages, (unsigned int)a2); v4 = sub_100720070(m_pages); if ( a2 <= 0 ) v5 = a2 + v4 * ((a2 != 0) + ((unsigned __int64)-__SPAIR64__(a2, a2) >> 32) / ((unsigned int)(v4 == 0) + v4)); else v5 = (unsigned int)(a2 % v4); return (cocos2d::CCLayer *)sub_1007200C0(a1->m_pages, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source