// // CreateParticlePopup::onMode from 0x1004679b0 to 0x100467a6e (190 bytes) // // 3 xrefs: // > CreateParticlePopup::init @ 0x1004635ad // > CreateParticlePopup::init @ 0x1004636c2 // > CreateParticlePopup::init @ 0x1004637c9 // // 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:29 +0000 // void __fastcall CreateParticlePopup::onMode(__int64 a1, __int64 a2) { int v2; // eax int v3; // ecx __int64 v4; // rax const char *v5; // r14 const char *v6; // rsi __int64 v7; // rax const char *v8; // rsi __int64 v9; // rax v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v3 = 0; if ( v2 != *(_DWORD *)(a1 + 828) ) v3 = v2; *(_DWORD *)(a1 + 828) = v3; *(_DWORD *)(*(_QWORD *)(a1 + 792) + 544LL) = v3; v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 800) + 1072LL))(*(_QWORD *)(a1 + 800)); v5 = "GJ_button_04.png"; v6 = "GJ_button_04.png"; if ( *(_DWORD *)(a1 + 828) == 1 ) v6 = "GJ_button_01.png"; ButtonSprite::updateBGImage(v4, (__int64)v6); v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 808) + 1072LL))(*(_QWORD *)(a1 + 808)); v8 = "GJ_button_04.png"; if ( *(_DWORD *)(a1 + 828) == 2 ) v8 = "GJ_button_01.png"; ButtonSprite::updateBGImage(v7, (__int64)v8); v9 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 816) + 1072LL))(*(_QWORD *)(a1 + 816)); if ( *(_DWORD *)(a1 + 828) == 3 ) v5 = "GJ_button_01.png"; ButtonSprite::updateBGImage(v9, (__int64)v5); }