{"type": "func", "start": 8770980, "end": 8771088, "name": "GJBaseGameLayer::toggleGroupTriggered", "pseudocode": "// \n// GJBaseGameLayer::toggleGroupTriggered from 0x85d5a4 to 0x85d610 (108 bytes)\n// \n// 5 xrefs:\n// > `non-virtual thunk to'GJBaseGameLayer::toggleGroupTriggered @ 0x85d614\n// > <???> @ 0x80898\n// > <???> @ 0x11489e8\n// > <???> @ 0x1155258\n// > <???> @ 0x11906d8\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 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  _BOOL4 v6; // w19\n  __int64 v10; // [xsp+40h] [xbp+40h]\n  __int64 v11; // [xsp+48h] [xbp+48h]\n\n  v6 = a3;\n  v10 = *(_QWORD *)&a5;\n  v11 = *(_QWORD *)&a6;\n  GJBaseGameLayer::toggleGroup(a1, a2, a3);\n  if ( v6 )\n    ((void (__fastcall *)(GJBaseGameLayer *, _QWORD, _QWORD, std::vector<int> *const, __int64, __int64, double))a1->spawnGroup)(\n      a1,\n      (unsigned int)a2,\n      0,\n      a4,\n      v10,\n      v11,\n      0.0);\n}", "assembly": "; \n; GJBaseGameLayer::toggleGroupTriggered from 0x85d5a4 to 0x85d610 (108 bytes)\n; \n; 5 xrefs:\n; > `non-virtual thunk to'GJBaseGameLayer::toggleGroupTriggered @ 0x85d614\n; > <???> @ 0x80898\n; > <???> @ 0x11489e8\n; > <???> @ 0x1155258\n; > <???> @ 0x11906d8\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             X29, X30, [SP,#var_50]!                                ; +0x0, 0x85d5a4\nMOV             X29, SP                                                ; +0x4, 0x85d5a8\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0x85d5ac\nUXTB            W19, W2                                                ; +0xc, 0x85d5b0\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x10, 0x85d5b4\nMOV             W2, W19; bool                                          ; +0x14, 0x85d5b8\nSTR             X3, [X29,#0x50+var_18]                                 ; +0x18, 0x85d5bc\nSTR             X4, [X29,#0x50+var_10]                                 ; +0x1c, 0x85d5c0\nMOV             X20, X0                                                ; +0x20, 0x85d5c4\nSTR             X5, [X29,#0x50+var_8]                                  ; +0x24, 0x85d5c8\nMOV             W21, W1                                                ; +0x28, 0x85d5cc\nBL              _ZN15GJBaseGameLayer11toggleGroupEib; GJBaseGameLayer::toggleGroup(int,bool) ; +0x2c, 0x85d5d0\nLDR             X5, [X29,#0x50+var_8]                                  ; +0x30, 0x85d5d4\nLDR             X4, [X29,#0x50+var_10]                                 ; +0x34, 0x85d5d8\nLDR             X3, [X29,#0x50+var_18]                                 ; +0x38, 0x85d5dc\nCBZ             W19, loc_85D600                                        ; +0x3c, 0x85d5e0\nLDR             X6, [X20]                                              ; +0x40, 0x85d5e4\nMOV             X0, X20                                                ; +0x44, 0x85d5e8\nFMOV            D0, XZR                                                ; +0x48, 0x85d5ec\nMOV             W1, W21                                                ; +0x4c, 0x85d5f0\nMOV             W2, #0                                                 ; +0x50, 0x85d5f4\nLDR             X6, [X6,#0x4D8]                                        ; +0x54, 0x85d5f8\nBLR             X6                                                     ; +0x58, 0x85d5fc\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x5c, 0x85d600\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x60, 0x85d604\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x64, 0x85d608\nRET                                                                    ; +0x68, 0x85d60c", "xrefs": ["`non-virtual thunk to'GJBaseGameLayer::toggleGroupTriggered @ 0x85d614", "<???> @ 0x80898", "<???> @ 0x11489e8", "<???> @ 0x1155258", "<???> @ 0x11906d8"], "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"}