// // SecretRewardsLayer::onSwitchPage from 0x1002ea104 to 0x1002ea15c (88 bytes) // // 1 xrefs: // > SecretRewardsLayer::init @ 0x1002e96d4 // // 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 SecretRewardsLayer::onSwitchPage(SecretRewardsLayer *a1, cocos2d::CCObject *a2) { __int64 v3; // x8 int reorderChild_high; // w20 int v5; // w8 v3 = 552; if ( a1->m_inMainLayer ) v3 = 544; reorderChild_high = HIDWORD((*(SecretRewardsLayer_vtbl **)((char *)&a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + v3))->reorderChild); if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1 ) v5 = 1; else v5 = -1; SecretRewardsLayer::goToPage(a1, v5 + reorderChild_high); }
GD Web Decomp Icon

GD Web Decomp

Raw Source