{"type": "func", "start": 4297007140, "end": 4297007268, "name": "GJBaseGameLayer::toggleGroupTriggered", "pseudocode": "// \n// GJBaseGameLayer::toggleGroupTriggered from 0x1001f2024 to 0x1001f20a4 (128 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x10078fd50\n// > <???> @ 0x1007c0b68\n// > <???> @ 0x1007f42c8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall GJBaseGameLayer::toggleGroupTriggered(\n        GJBaseGameLayer *a1,\n        int a2,\n        bool a3,\n        std::vector<int> *const a4,\n        int a5,\n        int a6)\n{\n  __int64 v6; // x19\n  __int64 v7; // x20\n  _BOOL4 v9; // w24\n  __int64 v10; // x22\n\n  v6 = *(_QWORD *)&a6;\n  v7 = *(_QWORD *)&a5;\n  v9 = a3;\n  v10 = *(_QWORD *)&a2;\n  GJBaseGameLayer::toggleGroup(a1, a2, a3);\n  if ( v9 )\n    ((void (__fastcall *)(GJBaseGameLayer *, __int64, _QWORD, std::vector<int> *const, __int64, __int64, double))a1->spawnGroup)(\n      a1,\n      v10,\n      0,\n      a4,\n      v7,\n      v6,\n      0.0);\n}", "assembly": "; \n; GJBaseGameLayer::toggleGroupTriggered from 0x1001f2024 to 0x1001f20a4 (128 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x10078fd50\n; > <???> @ 0x1007c0b68\n; > <???> @ 0x1007f42c8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x0, 0x1001f2024\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x1001f2028\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1001f202c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x1001f2030\nADD             X29, SP, #0x30                                         ; +0x10, 0x1001f2034\nMOV             X19, X5                                                ; +0x14, 0x1001f2038\nMOV             X20, X4                                                ; +0x18, 0x1001f203c\nMOV             X21, X3                                                ; +0x1c, 0x1001f2040\nMOV             X24, X2                                                ; +0x20, 0x1001f2044\nMOV             X22, X1                                                ; +0x24, 0x1001f2048\nMOV             X23, X0                                                ; +0x28, 0x1001f204c\nBL              GJBaseGameLayer__toggleGroup                           ; +0x2c, 0x1001f2050\nCBZ             W24, loc_1001F2090                                     ; +0x30, 0x1001f2054\nLDR             X8, [X23]                                              ; +0x34, 0x1001f2058\nLDR             X6, [X8,#0x4D8]                                        ; +0x38, 0x1001f205c\nFMOV            D0, XZR                                                ; +0x3c, 0x1001f2060\nMOV             X0, X23                                                ; +0x40, 0x1001f2064\nMOV             X1, X22                                                ; +0x44, 0x1001f2068\nMOV             W2, #0                                                 ; +0x48, 0x1001f206c\nMOV             X3, X21                                                ; +0x4c, 0x1001f2070\nMOV             X4, X20                                                ; +0x50, 0x1001f2074\nMOV             X5, X19                                                ; +0x54, 0x1001f2078\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x58, 0x1001f207c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x5c, 0x1001f2080\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x60, 0x1001f2084\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0x64, 0x1001f2088\nBR              X6                                                     ; +0x68, 0x1001f208c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x6c, 0x1001f2090\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x70, 0x1001f2094\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x74, 0x1001f2098\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0x78, 0x1001f209c\nRET                                                                    ; +0x7c, 0x1001f20a0", "xrefs": ["<???> @ 0x10078fd50", "<???> @ 0x1007c0b68", "<???> @ 0x1007f42c8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}