{"type": "func", "start": 4295052380, "end": 4295052520, "name": "GJEffectManager::runTouchTriggerCommand", "pseudocode": "// \n// GJEffectManager::runTouchTriggerCommand from 0x100014c5c to 0x100014ce8 (140 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::triggerObject @ 0x100385dd0\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 GJEffectManager::runTouchTriggerCommand(\n        GJEffectManager *a1,\n        int a2,\n        bool a3,\n        TouchTriggerType a4,\n        TouchTriggerControl a5,\n        bool a6,\n        std::vector<int> *const a7,\n        int a8,\n        int a9)\n{\n  std::__vector_base<TouchToggleAction>::pointer end; // x20\n  TouchToggleAction *v11; // x0\n  int v12; // [xsp+8h] [xbp-28h] BYREF\n  bool v13; // [xsp+Fh] [xbp-21h] BYREF\n  TouchTriggerControl v14; // [xsp+10h] [xbp-20h] BYREF\n  TouchTriggerType v15; // [xsp+14h] [xbp-1Ch] BYREF\n  bool v16; // [xsp+1Bh] [xbp-15h] BYREF\n  int v17; // [xsp+1Ch] [xbp-14h] BYREF\n\n  v17 = a2;\n  v16 = a3;\n  v14 = a5;\n  v15 = a4;\n  v13 = a6;\n  v12 = a8;\n  end = a1->m_unkVector1e0.__end_;\n  if ( end >= a1->m_unkVector1e0.__end_cap_.__value_ )\n  {\n    v11 = (TouchToggleAction *)((__int64 (__fastcall *)(std::vector<TouchToggleAction> *, int *, bool *, TouchTriggerType *, TouchTriggerControl *, bool *, std::vector<int> *const, int *, int *))sub_10001C3C8)(\n                                 &a1->m_unkVector1e0,\n                                 &v17,\n                                 &v16,\n                                 &v15,\n                                 &v14,\n                                 &v13,\n                                 a7,\n                                 &v12,\n                                 &a9);\n  }\n  else\n  {\n    sub_10001C560(end, *(_QWORD *)&a2, a3, *(_QWORD *)&a4, *(_QWORD *)&a5, a6, a7);\n    v11 = end + 1;\n    a1->m_unkVector1e0.__end_ = end + 1;\n  }\n  a1->m_unkVector1e0.__end_ = v11;\n}", "assembly": "; \n; GJEffectManager::runTouchTriggerCommand from 0x100014c5c to 0x100014ce8 (140 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::triggerObject @ 0x100385dd0\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x100014c5c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100014c60\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100014c64\nADD             X29, SP, #0x30                                         ; +0xc, 0x100014c68\nMOV             X19, X0                                                ; +0x10, 0x100014c6c\nLDR             W8, [X29,#arg_0]                                       ; +0x14, 0x100014c70\nSTUR            W1, [X29,#var_14]                                      ; +0x18, 0x100014c74\nSTURB           W2, [X29,#var_15]                                      ; +0x1c, 0x100014c78\nSTP             W4, W3, [SP,#0x30+var_20]                              ; +0x20, 0x100014c7c\nSTRB            W5, [SP,#0x30+var_21]                                  ; +0x24, 0x100014c80\nSTR             W7, [SP,#0x30+var_28]                                  ; +0x28, 0x100014c84\nLDP             X20, X9, [X0,#0x1C8]                                   ; +0x2c, 0x100014c88\nCMP             X20, X9                                                ; +0x30, 0x100014c8c\nB.CS            loc_100014CAC                                          ; +0x34, 0x100014c90\nSTR             W8, [SP,#0x30+var_30]                                  ; +0x38, 0x100014c94\nMOV             X0, X20                                                ; +0x3c, 0x100014c98\nBL              sub_10001C560                                          ; +0x40, 0x100014c9c\nADD             X0, X20, #0x38 ; '8'                                   ; +0x44, 0x100014ca0\nSTR             X0, [X19,#0x1C8]                                       ; +0x48, 0x100014ca4\nB               loc_100014CD4                                          ; +0x4c, 0x100014ca8\nADD             X8, X29, #arg_0                                        ; +0x50, 0x100014cac\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x54, 0x100014cb0\nADD             X0, X19, #0x1C0                                        ; +0x58, 0x100014cb4\nSUB             X1, X29, #-var_14                                      ; +0x5c, 0x100014cb8\nSUB             X2, X29, #-var_15                                      ; +0x60, 0x100014cbc\nADD             X3, SP, #0x30+var_1C                                   ; +0x64, 0x100014cc0\nADD             X4, SP, #0x30+var_20                                   ; +0x68, 0x100014cc4\nADD             X5, SP, #0x30+var_21                                   ; +0x6c, 0x100014cc8\nADD             X7, SP, #0x30+var_28                                   ; +0x70, 0x100014ccc\nBL              sub_10001C3C8                                          ; +0x74, 0x100014cd0\nSTR             X0, [X19,#0x1C8]                                       ; +0x78, 0x100014cd4\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x7c, 0x100014cd8\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x80, 0x100014cdc\nADD             SP, SP, #0x40 ; '@'                                    ; +0x84, 0x100014ce0\nRET                                                                    ; +0x88, 0x100014ce4", "xrefs": ["EffectGameObject::triggerObject @ 0x100385dd0"], "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"}