// // CreateParticlePopup::onPage from 0x1004735a0 to 0x10047379f (511 bytes) // // 5 xrefs: // > CreateParticlePopup::init @ 0x100472a72 // > CreateParticlePopup::init @ 0x10046f858 // > CreateParticlePopup::init @ 0x10046f964 // > CreateParticlePopup::init @ 0x10046fa75 // > CreateParticlePopup::init @ 0x10046fb86 // // 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 CreateParticlePopup::onPage(CreateParticlePopup *a1, cocos2d::CCObject *a2) { unsigned int i; // r14d __int64 v4; // rax __int64 v5; // rax ButtonSprite *v6; // rax const char *v7; // rsi __int64 v8; // rax __int64 v9; // r13 __int64 v10; // r12 __int64 v11; // rax __int64 v12; // r12 __int64 v13; // rdi __int64 v14; // r15 unsigned int v15; // r12d __int64 v16; // rax int v17; // eax if ( a2 ) a1->m_page = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); for ( i = 1; i != 5; ++i ) { v4 = sub_1007200C0(a1->m_pageNodes, i - 1); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v4 + 328LL))(v4, a1->m_page == i); v5 = sub_1007200C0(a1->m_pageButtons, i - 1); v6 = (ButtonSprite *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1056LL))(v5); v7 = "GJ_button_04.png"; if ( a1->m_page == i ) v7 = "GJ_button_01.png"; ButtonSprite::updateBGImage(v6, v7); v8 = sub_1007200C0(a1->m_inputDicts, i); if ( v8 ) { v9 = *(_QWORD *)(v8 + 56); while ( v9 ) { v10 = *(_QWORD *)(v9 + 264); v9 = *(_QWORD *)(v9 + 288); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v10 + 984LL))(v10, a1->m_page == i); if ( a1->m_page != i ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 1144LL))(v10, 0); } } v11 = sub_1007200C0(a1->m_sliderDicts, i); if ( v11 ) { v12 = *(_QWORD *)(v11 + 56); while ( v12 ) { v13 = *(_QWORD *)(v12 + 264); v12 = *(_QWORD *)(v12 + 288); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v13 + 984LL))(v13, a1->m_page == i); } } v14 = sub_1007200C0(a1->m_pageObjectArrays, i - 1); if ( (unsigned int)sub_100720070(v14) ) { v15 = 0; do { v16 = sub_1007200C0(v14, v15); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v16 + 328LL))(v16, a1->m_page == i); ++v15; } while ( v15 < (unsigned int)sub_100720070(v14) ); } } if ( a1->m_page == 1 ) { v17 = ((__int64 (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_particle->getEmitterMode)(a1->m_particle); CreateParticlePopup::toggleGravityMode(a1, v17 == 0); } }