{"type": "func", "start": 4299587008, "end": 4299587134, "name": "CreateParticlePopup::onPosType", "pseudocode": "// \n// CreateParticlePopup::onPosType from 0x100467dc0 to 0x100467e3e (126 bytes)\n// \n// 3 xrefs:\n// > CreateParticlePopup::init @ 0x100463fb1\n// > CreateParticlePopup::init @ 0x1004640dc\n// > CreateParticlePopup::init @ 0x10046420d\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::onPosType(__int64 *a1, __int64 a2)\n{\n  int v2; // r14d\n  __int64 result; // rax\n\n  v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  CreateParticlePopup::updateParticleValueForType(a1, 57, 0, (float)v2);\n  if ( !v2 )\n  {\n    CCMenuItemToggler::toggle(a1[105], 0);\n    return CCMenuItemToggler::toggle(a1[106], 0);\n  }\n  CCMenuItemToggler::toggle(a1[104], 0);\n  if ( v2 == 1 )\n    return CCMenuItemToggler::toggle(a1[106], 0);\n  result = CCMenuItemToggler::toggle(a1[105], 0);\n  if ( v2 != 2 )\n    return CCMenuItemToggler::toggle(a1[106], 0);\n  return result;\n}", "assembly": "; \n; CreateParticlePopup::onPosType from 0x100467dc0 to 0x100467e3e (126 bytes)\n; \n; 3 xrefs:\n; > CreateParticlePopup::init @ 0x100463fb1\n; > CreateParticlePopup::init @ 0x1004640dc\n; > CreateParticlePopup::init @ 0x10046420d\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, 0x100467dc0\nmov     rbp, rsp                                                       ; +0x1, 0x100467dc1\npush    r14                                                            ; +0x4, 0x100467dc4\npush    rbx                                                            ; +0x6, 0x100467dc6\nmov     rbx, rdi                                                       ; +0x7, 0x100467dc7\nmov     rax, [rsi]                                                     ; +0xa, 0x100467dca\nmov     rdi, rsi                                                       ; +0xd, 0x100467dcd\ncall    qword ptr [rax+40h]                                            ; +0x10, 0x100467dd0\nmov     r14d, eax                                                      ; +0x13, 0x100467dd3\nmov     eax, eax                                                       ; +0x16, 0x100467dd6\ncvtsi2ss xmm0, rax                                                     ; +0x18, 0x100467dd8\nmov     rdi, rbx                                                       ; +0x1d, 0x100467ddd\nmov     esi, 39h ; '9'                                                 ; +0x20, 0x100467de0\nxor     edx, edx                                                       ; +0x25, 0x100467de5\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x27, 0x100467de7\ntest    r14d, r14d                                                     ; +0x2c, 0x100467dec\njz      short loc_100467E1E                                            ; +0x2f, 0x100467def\nmov     rdi, [rbx+340h]                                                ; +0x31, 0x100467df1\nxor     esi, esi                                                       ; +0x38, 0x100467df8\ncall    CCMenuItemToggler__toggle                                      ; +0x3a, 0x100467dfa\ncmp     r14d, 1                                                        ; +0x3f, 0x100467dff\njz      short loc_100467E2C                                            ; +0x43, 0x100467e03\nmov     rdi, [rbx+348h]                                                ; +0x45, 0x100467e05\nxor     esi, esi                                                       ; +0x4c, 0x100467e0c\ncall    CCMenuItemToggler__toggle                                      ; +0x4e, 0x100467e0e\ncmp     r14d, 2                                                        ; +0x53, 0x100467e13\njnz     short loc_100467E2C                                            ; +0x57, 0x100467e17\npop     rbx                                                            ; +0x59, 0x100467e19\npop     r14                                                            ; +0x5a, 0x100467e1a\npop     rbp                                                            ; +0x5c, 0x100467e1c\nretn                                                                   ; +0x5d, 0x100467e1d\nmov     rdi, [rbx+348h]                                                ; +0x5e, 0x100467e1e\nxor     esi, esi                                                       ; +0x65, 0x100467e25\ncall    CCMenuItemToggler__toggle                                      ; +0x67, 0x100467e27\nmov     rdi, [rbx+350h]                                                ; +0x6c, 0x100467e2c\nxor     esi, esi                                                       ; +0x73, 0x100467e33\npop     rbx                                                            ; +0x75, 0x100467e35\npop     r14                                                            ; +0x76, 0x100467e36\npop     rbp                                                            ; +0x78, 0x100467e38\njmp     CCMenuItemToggler__toggle                                      ; +0x79, 0x100467e39", "xrefs": ["CreateParticlePopup::init @ 0x100463fb1", "CreateParticlePopup::init @ 0x1004640dc", "CreateParticlePopup::init @ 0x10046420d"], "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"}