{"type": "func", "start": 4299587344, "end": 4299587435, "name": "CreateParticlePopup::onTogglePerfLog", "pseudocode": "// \n// CreateParticlePopup::onTogglePerfLog from 0x100467f10 to 0x100467f6b (91 bytes)\n// \n// 1 xrefs:\n// > CreateParticlePopup::init @ 0x1004645a7\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::onTogglePerfLog(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rax\n  unsigned __int8 GameVariable; // al\n\n  v1 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v1, \"0178\");\n  v2 = GameManager::sharedState();\n  GameVariable = GameManager::getGameVariable(v2, \"0178\");\n  *(_BYTE *)(a1 + 976) = GameVariable;\n  *(_DWORD *)(a1 + 980) = 1065353216;\n  return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 984) + 344LL))(\n           *(_QWORD *)(a1 + 984),\n           GameVariable);\n}", "assembly": "; \n; CreateParticlePopup::onTogglePerfLog from 0x100467f10 to 0x100467f6b (91 bytes)\n; \n; 1 xrefs:\n; > CreateParticlePopup::init @ 0x1004645a7\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, 0x100467f10\nmov     rbp, rsp                                                       ; +0x1, 0x100467f11\npush    r14                                                            ; +0x4, 0x100467f14\npush    rbx                                                            ; +0x6, 0x100467f16\nmov     rbx, rdi                                                       ; +0x7, 0x100467f17\ncall    GameManager__sharedState                                       ; +0xa, 0x100467f1a\nlea     r14, a0178; \"0178\"                                             ; +0xf, 0x100467f1f\nmov     rdi, rax                                                       ; +0x16, 0x100467f26\nmov     rsi, r14                                                       ; +0x19, 0x100467f29\ncall    GameManager__toggleGameVariable                                ; +0x1c, 0x100467f2c\ncall    GameManager__sharedState                                       ; +0x21, 0x100467f31\nmov     rdi, rax                                                       ; +0x26, 0x100467f36\nmov     rsi, r14                                                       ; +0x29, 0x100467f39\ncall    GameManager__getGameVariable                                   ; +0x2c, 0x100467f3c\nmov     [rbx+3D0h], al                                                 ; +0x31, 0x100467f41\nmov     dword ptr [rbx+3D4h], 3F800000h                                ; +0x37, 0x100467f47\nmov     rdi, [rbx+3D8h]                                                ; +0x41, 0x100467f51\nmov     rcx, [rdi]                                                     ; +0x48, 0x100467f58\nmov     rcx, [rcx+158h]                                                ; +0x4b, 0x100467f5b\nmovzx   esi, al                                                        ; +0x52, 0x100467f62\npop     rbx                                                            ; +0x55, 0x100467f65\npop     r14                                                            ; +0x56, 0x100467f66\npop     rbp                                                            ; +0x58, 0x100467f68\njmp     rcx                                                            ; +0x59, 0x100467f69", "xrefs": ["CreateParticlePopup::init @ 0x1004645a7"], "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"}