{"type": "func", "start": 11520048, "end": 11520144, "name": "CreateParticlePopup::onTogglePerfLog", "pseudocode": "// \n// CreateParticlePopup::onTogglePerfLog from 0xafc830 to 0xafc890 (96 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xe3a40\n// > CreateParticlePopup::init @ 0xb027f4\n// > <???> @ 0x1546d60\n// \n// This function is hookable on this platform (idp: arm, 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 13:01:18 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::onTogglePerfLog(CreateParticlePopup *this, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n  GameManager *v4; // x0\n  GameManager *v5; // x0\n  unsigned int GameVariable; // w0\n  __int64 v7; // x1\n  __int64 v8; // x0\n\n  v3 = (GameManager *)GameManager::sharedState(this);\n  v4 = (GameManager *)GameManager::toggleGameVariable(v3, \"0178\");\n  v5 = (GameManager *)GameManager::sharedState(v4);\n  GameVariable = GameManager::getGameVariable(v5, \"0178\");\n  *((_BYTE *)this + 976) = GameVariable;\n  v7 = GameVariable;\n  v8 = *((_QWORD *)this + 123);\n  *((float *)this + 245) = 1.0;\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 344LL))(v8, v7);\n}", "assembly": "; \n; CreateParticlePopup::onTogglePerfLog from 0xafc830 to 0xafc890 (96 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xe3a40\n; > CreateParticlePopup::init @ 0xb027f4\n; > <???> @ 0x1546d60\n; \n; This function is hookable on this platform (idp: arm, 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 13:01:18 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xafc830\nMOV             X29, SP                                                ; +0x4, 0xafc834\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xafc838\nADRP            X19, #a0178@PAGE; \"0178\"                               ; +0xc, 0xafc83c\nMOV             X20, X0                                                ; +0x10, 0xafc840\nADD             X19, X19, #a0178@PAGEOFF; \"0178\"                       ; +0x14, 0xafc844\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0xafc848\nMOV             X1, X19; char *                                        ; +0x1c, 0xafc84c\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0x20, 0xafc850\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x24, 0xafc854\nMOV             X1, X19; char *                                        ; +0x28, 0xafc858\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x2c, 0xafc85c\nSTRB            W0, [X20,#0x3D0]                                       ; +0x30, 0xafc860\nLDR             X2, [X20,#0x3D8]                                       ; +0x34, 0xafc864\nMOV             W1, W0                                                 ; +0x38, 0xafc868\nFMOV            S0, #1.0                                               ; +0x3c, 0xafc86c\nMOV             X0, X2                                                 ; +0x40, 0xafc870\nSTR             S0, [X20,#0x3D4]                                       ; +0x44, 0xafc874\nLDR             X2, [X2]                                               ; +0x48, 0xafc878\nLDR             X2, [X2,#0x158]                                        ; +0x4c, 0xafc87c\nBLR             X2                                                     ; +0x50, 0xafc880\nLDP             X19, X20, [SP,#var_s10]                                ; +0x54, 0xafc884\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x58, 0xafc888\nRET                                                                    ; +0x5c, 0xafc88c", "xrefs": ["<???> @ 0xe3a40", "CreateParticlePopup::init @ 0xb027f4", "<???> @ 0x1546d60"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}