{"type": "func", "start": 4298667180, "end": 4298667440, "name": "EnhancedTriggerObject::customObjectSetup", "pseudocode": "// \n// EnhancedTriggerObject::customObjectSetup from 0x1003874ac to 0x1003875b0 (260 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007fb6d0\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\nvoid __fastcall EnhancedTriggerObject::customObjectSetup(\n        EnhancedTriggerObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  std::__vector_base<void *>::pointer begin; // x21\n  std::__vector_base<std::string>::pointer capacitym1; // x0\n  int v8; // w0\n  std::__vector_base<std::string>::pointer v9; // x0\n  int v10; // w0\n  std::__vector_base<std::string>::pointer v11; // x0\n  int v12; // w0\n  std::__vector_base<std::string>::pointer v13; // x0\n  int v14; // w0\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  begin = a3->__begin_;\n  if ( begin[516] )\n  {\n    capacitym1 = a2->__begin_ + 516;\n    if ( a2->__begin_[516].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      capacitym1 = (std::__vector_base<std::string>::pointer)capacitym1->m_data.m_long.capacitym1;\n    v8 = atoi((const char *)capacitym1);\n  }\n  else\n  {\n    v8 = 0;\n  }\n  a1->m_minXID = v8;\n  if ( begin[517] )\n  {\n    v9 = a2->__begin_ + 517;\n    if ( a2->__begin_[517].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v9 = (std::__vector_base<std::string>::pointer)v9->m_data.m_long.capacitym1;\n    v10 = atoi((const char *)v9);\n  }\n  else\n  {\n    v10 = 0;\n  }\n  a1->m_minYID = v10;\n  if ( begin[518] )\n  {\n    v11 = a2->__begin_ + 518;\n    if ( a2->__begin_[518].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v11 = (std::__vector_base<std::string>::pointer)v11->m_data.m_long.capacitym1;\n    v12 = atoi((const char *)v11);\n  }\n  else\n  {\n    v12 = 0;\n  }\n  a1->m_maxXID = v12;\n  if ( begin[519] )\n  {\n    v13 = a2->__begin_ + 519;\n    if ( a2->__begin_[519].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v13 = (std::__vector_base<std::string>::pointer)v13->m_data.m_long.capacitym1;\n    v14 = atoi((const char *)v13);\n  }\n  else\n  {\n    v14 = 0;\n  }\n  a1->m_maxYID = v14;\n}", "assembly": "; \n; EnhancedTriggerObject::customObjectSetup from 0x1003874ac to 0x1003875b0 (260 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007fb6d0\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003874ac\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003874b0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003874b4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003874b8\nMOV             X21, X2                                                ; +0x10, 0x1003874bc\nMOV             X20, X1                                                ; +0x14, 0x1003874c0\nMOV             X19, X0                                                ; +0x18, 0x1003874c4\nBL              EffectGameObject__customObjectSetup                    ; +0x1c, 0x1003874c8\nLDR             X21, [X21]                                             ; +0x20, 0x1003874cc\nLDR             X8, [X21,#0x1020]                                      ; +0x24, 0x1003874d0\nCBZ             X8, loc_1003874FC                                      ; +0x28, 0x1003874d4\nLDR             X8, [X20]                                              ; +0x2c, 0x1003874d8\nMOV             W9, #0x3060                                            ; +0x30, 0x1003874dc\nADD             X0, X8, X9                                             ; +0x34, 0x1003874e0\nMOV             W9, #0x3077                                            ; +0x38, 0x1003874e4\nLDRSB           W8, [X8,X9]                                            ; +0x3c, 0x1003874e8\nTBZ             W8, #0x1F, loc_1003874F4                               ; +0x40, 0x1003874ec\nLDR             X0, [X0]; char *                                       ; +0x44, 0x1003874f0\nBL              _atoi                                                  ; +0x48, 0x1003874f4\nB               loc_100387500                                          ; +0x4c, 0x1003874f8\nMOV             W0, #0                                                 ; +0x50, 0x1003874fc\nSTR             W0, [X19,#0x72C]                                       ; +0x54, 0x100387500\nLDR             X8, [X21,#0x1028]                                      ; +0x58, 0x100387504\nCBZ             X8, loc_100387530                                      ; +0x5c, 0x100387508\nLDR             X8, [X20]                                              ; +0x60, 0x10038750c\nMOV             W9, #0x3078                                            ; +0x64, 0x100387510\nADD             X0, X8, X9                                             ; +0x68, 0x100387514\nMOV             W9, #0x308F                                            ; +0x6c, 0x100387518\nLDRSB           W8, [X8,X9]                                            ; +0x70, 0x10038751c\nTBZ             W8, #0x1F, loc_100387528                               ; +0x74, 0x100387520\nLDR             X0, [X0]; char *                                       ; +0x78, 0x100387524\nBL              _atoi                                                  ; +0x7c, 0x100387528\nB               loc_100387534                                          ; +0x80, 0x10038752c\nMOV             W0, #0                                                 ; +0x84, 0x100387530\nSTR             W0, [X19,#0x730]                                       ; +0x88, 0x100387534\nLDR             X8, [X21,#0x1030]                                      ; +0x8c, 0x100387538\nCBZ             X8, loc_100387564                                      ; +0x90, 0x10038753c\nLDR             X8, [X20]                                              ; +0x94, 0x100387540\nMOV             W9, #0x3090                                            ; +0x98, 0x100387544\nADD             X0, X8, X9                                             ; +0x9c, 0x100387548\nMOV             W9, #0x30A7                                            ; +0xa0, 0x10038754c\nLDRSB           W8, [X8,X9]                                            ; +0xa4, 0x100387550\nTBZ             W8, #0x1F, loc_10038755C                               ; +0xa8, 0x100387554\nLDR             X0, [X0]; char *                                       ; +0xac, 0x100387558\nBL              _atoi                                                  ; +0xb0, 0x10038755c\nB               loc_100387568                                          ; +0xb4, 0x100387560\nMOV             W0, #0                                                 ; +0xb8, 0x100387564\nSTR             W0, [X19,#0x734]                                       ; +0xbc, 0x100387568\nLDR             X8, [X21,#0x1038]                                      ; +0xc0, 0x10038756c\nCBZ             X8, loc_100387598                                      ; +0xc4, 0x100387570\nLDR             X8, [X20]                                              ; +0xc8, 0x100387574\nMOV             W9, #0x30A8                                            ; +0xcc, 0x100387578\nADD             X0, X8, X9                                             ; +0xd0, 0x10038757c\nMOV             W9, #0x30BF                                            ; +0xd4, 0x100387580\nLDRSB           W8, [X8,X9]                                            ; +0xd8, 0x100387584\nTBZ             W8, #0x1F, loc_100387590                               ; +0xdc, 0x100387588\nLDR             X0, [X0]; char *                                       ; +0xe0, 0x10038758c\nBL              _atoi                                                  ; +0xe4, 0x100387590\nB               loc_10038759C                                          ; +0xe8, 0x100387594\nMOV             W0, #0                                                 ; +0xec, 0x100387598\nSTR             W0, [X19,#0x738]                                       ; +0xf0, 0x10038759c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xf4, 0x1003875a0\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xf8, 0x1003875a4\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xfc, 0x1003875a8\nRET                                                                    ; +0x100, 0x1003875ac", "xrefs": ["<???> @ 0x1007fb6d0"], "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"}