// // BoomScrollLayer::selectPage from 0x56e300 to 0x56e3a4 (164 bytes) // // 2 xrefs: // > BoomScrollLayer::ccTouchCancelled @ 0x56e3c4 // > @ 0xa3080 // // 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 // void BoomScrollLayer::selectPage(BoomScrollLayer *a1, int a2) { ExtendedLayer *m_extendedLayer; // x23 void (__fastcall *setPosition)(ExtendedLayer *__hidden, const cocos2d::CCPoint *); // x24 _BYTE v6[8]; // [xsp+40h] [xbp+40h] BYREF cocos2d::CCPoint v7; // 0:kr00_8.8 if ( (a2 & 0x80000000) == 0 && a2 < BoomScrollLayer::getTotalPages(a1) ) { m_extendedLayer = a1->m_extendedLayer; setPosition = m_extendedLayer->setPosition; v7 = BoomScrollLayer::positionForPageWithNumber(a1, a2); ((void (__fastcall *)(ExtendedLayer *, _BYTE *, float, float))setPosition)(m_extendedLayer, v6, v7.x, v7.y); a1->m_slowPage = a1->m_page; a1->m_page = a2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source