{"type": "func", "start": 4299587216, "end": 4299587336, "name": "CreateParticlePopup::onEmitterMode", "pseudocode": "// \n// CreateParticlePopup::onEmitterMode from 0x100467e90 to 0x100467f08 (120 bytes)\n// \n// 2 xrefs:\n// > CreateParticlePopup::init @ 0x100464337\n// > CreateParticlePopup::init @ 0x10046446c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:30:30 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::onEmitterMode(__int64 a1, __int64 a2)\n{\n  int v2; // r14d\n  int v3; // eax\n\n  v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  CreateParticlePopup::updateParticleValueForType(a1, 62, 0, (float)v2);\n  CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 872), v2 == 0);\n  CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 880), v2 == 1);\n  v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1592LL))(*(_QWORD *)(a1 + 712));\n  return CreateParticlePopup::toggleGravityMode(a1, v3 == 0);\n}", "assembly": "; \n; CreateParticlePopup::onEmitterMode from 0x100467e90 to 0x100467f08 (120 bytes)\n; \n; 2 xrefs:\n; > CreateParticlePopup::init @ 0x100464337\n; > CreateParticlePopup::init @ 0x10046446c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:30:30 +0000\n; \npush    rbp                                                            ; +0x0, 0x100467e90\nmov     rbp, rsp                                                       ; +0x1, 0x100467e91\npush    r14                                                            ; +0x4, 0x100467e94\npush    rbx                                                            ; +0x6, 0x100467e96\nmov     rbx, rdi                                                       ; +0x7, 0x100467e97\nmov     rax, [rsi]                                                     ; +0xa, 0x100467e9a\nmov     rdi, rsi                                                       ; +0xd, 0x100467e9d\ncall    qword ptr [rax+40h]                                            ; +0x10, 0x100467ea0\nmov     r14d, eax                                                      ; +0x13, 0x100467ea3\ncvtsi2ss xmm0, eax                                                     ; +0x16, 0x100467ea6\nmov     rdi, rbx                                                       ; +0x1a, 0x100467eaa\nmov     esi, 3Eh ; '>'                                                 ; +0x1d, 0x100467ead\nxor     edx, edx                                                       ; +0x22, 0x100467eb2\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x24, 0x100467eb4\nmov     rdi, [rbx+368h]                                                ; +0x29, 0x100467eb9\nxor     esi, esi                                                       ; +0x30, 0x100467ec0\ntest    r14d, r14d                                                     ; +0x32, 0x100467ec2\nsetz    sil                                                            ; +0x35, 0x100467ec5\ncall    CCMenuItemToggler__toggle                                      ; +0x39, 0x100467ec9\nmov     rdi, [rbx+370h]                                                ; +0x3e, 0x100467ece\nxor     esi, esi                                                       ; +0x45, 0x100467ed5\ncmp     r14d, 1                                                        ; +0x47, 0x100467ed7\nsetz    sil                                                            ; +0x4b, 0x100467edb\ncall    CCMenuItemToggler__toggle                                      ; +0x4f, 0x100467edf\nmov     rdi, [rbx+2C8h]                                                ; +0x54, 0x100467ee4\nmov     rax, [rdi]                                                     ; +0x5b, 0x100467eeb\ncall    qword ptr [rax+638h]                                           ; +0x5e, 0x100467eee\nxor     esi, esi                                                       ; +0x64, 0x100467ef4\ntest    eax, eax                                                       ; +0x66, 0x100467ef6\nsetz    sil                                                            ; +0x68, 0x100467ef8\nmov     rdi, rbx                                                       ; +0x6c, 0x100467efc\npop     rbx                                                            ; +0x6f, 0x100467eff\npop     r14                                                            ; +0x70, 0x100467f00\npop     rbp                                                            ; +0x72, 0x100467f02\njmp     CreateParticlePopup__toggleGravityMode                         ; +0x73, 0x100467f03", "xrefs": ["CreateParticlePopup::init @ 0x100464337", "CreateParticlePopup::init @ 0x10046446c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}