// // GJColorSetupLayer::onPage from 0x10020bec0 to 0x10020bf58 (152 bytes) // // 2 xrefs: // > GJColorSetupLayer::init @ 0x10020b9ce // > GJColorSetupLayer::init @ 0x10020ba9f // // 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 __fastcall GJColorSetupLayer::onPage(GJColorSetupLayer *a1, cocos2d::CCObject *a2) { int v2; // eax int v3; // r14d v2 = a1->m_page + (((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) != 0 ? -1 : 1); if ( v2 <= 0 ) v2 = 0; v3 = a1->m_totalPages - 1; if ( v3 >= v2 ) v3 = v2; a1->m_page = v3; ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_prevButton->setVisible)(a1->m_prevButton, v3 != 0); ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_nextButton->setVisible)( a1->m_nextButton, a1->m_totalPages - 1 != v3); a1->m_settingsObject->m_colorPage = v3; GJColorSetupLayer::updateSpriteColors(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source