// // CreateParticlePopup::onPage from 0x100467ba0 to 0x100467db4 (532 bytes) // // 5 xrefs: // > CreateParticlePopup::init @ 0x100467064 // > CreateParticlePopup::init @ 0x100463ace // > CreateParticlePopup::init @ 0x100463bda // > CreateParticlePopup::init @ 0x100463ceb // > CreateParticlePopup::init @ 0x100463dfc // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:30:30 +0000 // __int64 __fastcall CreateParticlePopup::onPage(__int64 a1, __int64 a2) { unsigned int i; // r14d __int64 v4; // rax __int64 v5; // rax __int64 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 __int64 result; // rax int v18; // eax if ( a2 ) *(_DWORD *)(a1 + 996) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); for ( i = 1; i != 5; ++i ) { v4 = sub_1007FEFE0(*(_QWORD *)(a1 + 760), i - 1); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v4 + 344LL))(v4, *(_DWORD *)(a1 + 996) == i); v5 = sub_1007FEFE0(*(_QWORD *)(a1 + 768), i - 1); v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1072LL))(v5); v7 = "GJ_button_04.png"; if ( *(_DWORD *)(a1 + 996) == i ) v7 = "GJ_button_01.png"; ButtonSprite::updateBGImage(v6, (__int64)v7); v8 = sub_1007FEFE0(*(_QWORD *)(a1 + 744), i); if ( v8 ) { v9 = *(_QWORD *)(v8 + 56); while ( v9 ) { v10 = *(_QWORD *)(v9 + 264); v9 = *(_QWORD *)(v9 + 288); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v10 + 1000LL))(v10, *(_DWORD *)(a1 + 996) == i); if ( *(_DWORD *)(a1 + 996) != i ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 1160LL))(v10, 0); } } v11 = sub_1007FEFE0(*(_QWORD *)(a1 + 752), i); if ( v11 ) { v12 = *(_QWORD *)(v11 + 56); while ( v12 ) { v13 = *(_QWORD *)(v12 + 264); v12 = *(_QWORD *)(v12 + 288); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v13 + 1000LL))(v13, *(_DWORD *)(a1 + 996) == i); } } v14 = sub_1007FEFE0(*(_QWORD *)(a1 + 784), i - 1); if ( (unsigned int)sub_1007FEF90(v14) ) { v15 = 0; do { v16 = sub_1007FEFE0(v14, v15); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v16 + 344LL))(v16, *(_DWORD *)(a1 + 996) == i); ++v15; } while ( v15 < (unsigned int)sub_1007FEF90(v14) ); } } result = *(unsigned int *)(a1 + 996); if ( (_DWORD)result == 1 ) { v18 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1592LL))(*(_QWORD *)(a1 + 712)); CreateParticlePopup::toggleGravityMode(a1, v18 == 0); result = *(unsigned int *)(a1 + 996); } if ( (_DWORD)result == 4 ) return CreateParticlePopup::applyTexturePage(a1); return result; }