{"type": "func", "start": 4298711840, "end": 4298712164, "name": "EndTriggerGameObject::customObjectSetup", "pseudocode": "// \n// EndTriggerGameObject::customObjectSetup from 0x100392320 to 0x100392464 (324 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100803890\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 EndTriggerGameObject::customObjectSetup(\n        EndTriggerGameObject *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  int v9; // w8\n  std::__vector_base<std::string>::pointer v10; // x0\n  int v11; // w0\n  int v12; // w8\n  void *v13; // x8\n  std::__vector_base<std::string>::pointer v14; // x0\n  void *v15; // x8\n  std::__vector_base<std::string>::pointer v16; // x0\n  void *v17; // x8\n  std::__vector_base<std::string>::pointer v18; // x0\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  begin = a3->__begin_;\n  if ( begin[51] )\n  {\n    capacitym1 = a2->__begin_ + 51;\n    if ( a2->__begin_[51].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  v9 = v8 & ~(v8 >> 31);\n  if ( v9 >= 9999 )\n    v9 = 9999;\n  a1->m_targetGroupID = v9;\n  if ( begin[71] )\n  {\n    v10 = a2->__begin_ + 71;\n    if ( a2->__begin_[71].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v10 = (std::__vector_base<std::string>::pointer)v10->m_data.m_long.capacitym1;\n    v11 = atoi((const char *)v10);\n  }\n  else\n  {\n    v11 = 0;\n  }\n  v12 = v11 & ~(v11 >> 31);\n  if ( v12 >= 9999 )\n    v12 = 9999;\n  a1->m_centerGroupID = v12;\n  v13 = begin[460];\n  if ( v13 )\n  {\n    v14 = a2->__begin_ + 460;\n    if ( a2->__begin_[460].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v14 = (std::__vector_base<std::string>::pointer)v14->m_data.m_long.capacitym1;\n    LOBYTE(v13) = atoi((const char *)v14) != 0;\n  }\n  a1->m_noEffects = (char)v13;\n  v15 = begin[461];\n  if ( v15 )\n  {\n    v16 = a2->__begin_ + 461;\n    if ( a2->__begin_[461].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v16 = (std::__vector_base<std::string>::pointer)v16->m_data.m_long.capacitym1;\n    LOBYTE(v15) = atoi((const char *)v16) != 0;\n  }\n  a1->m_noSFX = (char)v15;\n  v17 = begin[487];\n  if ( v17 )\n  {\n    v18 = a2->__begin_ + 487;\n    if ( a2->__begin_[487].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v18 = (std::__vector_base<std::string>::pointer)v18->m_data.m_long.capacitym1;\n    LOBYTE(v17) = atoi((const char *)v18) != 0;\n  }\n  a1->m_instant = (char)v17;\n}", "assembly": "; \n; EndTriggerGameObject::customObjectSetup from 0x100392320 to 0x100392464 (324 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100803890\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, 0x100392320\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100392324\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100392328\nADD             X29, SP, #0x20                                         ; +0xc, 0x10039232c\nMOV             X21, X2                                                ; +0x10, 0x100392330\nMOV             X20, X1                                                ; +0x14, 0x100392334\nMOV             X19, X0                                                ; +0x18, 0x100392338\nBL              EffectGameObject__customObjectSetup                    ; +0x1c, 0x10039233c\nLDR             X21, [X21]                                             ; +0x20, 0x100392340\nLDR             X8, [X21,#0x198]                                       ; +0x24, 0x100392344\nCBZ             X8, loc_100392368                                      ; +0x28, 0x100392348\nLDR             X8, [X20]                                              ; +0x2c, 0x10039234c\nADD             X0, X8, #0x4C8                                         ; +0x30, 0x100392350\nLDRSB           W8, [X8,#0x4DF]                                        ; +0x34, 0x100392354\nTBZ             W8, #0x1F, loc_100392360                               ; +0x38, 0x100392358\nLDR             X0, [X0]; char *                                       ; +0x3c, 0x10039235c\nBL              _atoi                                                  ; +0x40, 0x100392360\nB               loc_10039236C                                          ; +0x44, 0x100392364\nMOV             W0, #0                                                 ; +0x48, 0x100392368\nBIC             W8, W0, W0,ASR#31                                      ; +0x4c, 0x10039236c\nMOV             W22, #0x270F                                           ; +0x50, 0x100392370\nCMP             W8, W22                                                ; +0x54, 0x100392374\nCSEL            W8, W8, W22, LT                                        ; +0x58, 0x100392378\nSTR             W8, [X19,#0x5B8]                                       ; +0x5c, 0x10039237c\nLDR             X8, [X21,#0x238]                                       ; +0x60, 0x100392380\nCBZ             X8, loc_1003923A4                                      ; +0x64, 0x100392384\nLDR             X8, [X20]                                              ; +0x68, 0x100392388\nADD             X0, X8, #0x6A8                                         ; +0x6c, 0x10039238c\nLDRSB           W8, [X8,#0x6BF]                                        ; +0x70, 0x100392390\nTBZ             W8, #0x1F, loc_10039239C                               ; +0x74, 0x100392394\nLDR             X0, [X0]; char *                                       ; +0x78, 0x100392398\nBL              _atoi                                                  ; +0x7c, 0x10039239c\nB               loc_1003923A8                                          ; +0x80, 0x1003923a0\nMOV             W0, #0                                                 ; +0x84, 0x1003923a4\nBIC             W8, W0, W0,ASR#31                                      ; +0x88, 0x1003923a8\nCMP             W8, W22                                                ; +0x8c, 0x1003923ac\nCSEL            W8, W8, W22, LT                                        ; +0x90, 0x1003923b0\nSTR             W8, [X19,#0x5BC]                                       ; +0x94, 0x1003923b4\nLDR             X8, [X21,#0xE60]                                       ; +0x98, 0x1003923b8\nCBZ             X8, loc_1003923E8                                      ; +0x9c, 0x1003923bc\nLDR             X8, [X20]                                              ; +0xa0, 0x1003923c0\nMOV             W9, #0x2B20                                            ; +0xa4, 0x1003923c4\nADD             X0, X8, X9                                             ; +0xa8, 0x1003923c8\nMOV             W9, #0x2B37                                            ; +0xac, 0x1003923cc\nLDRSB           W8, [X8,X9]                                            ; +0xb0, 0x1003923d0\nTBZ             W8, #0x1F, loc_1003923DC                               ; +0xb4, 0x1003923d4\nLDR             X0, [X0]; char *                                       ; +0xb8, 0x1003923d8\nBL              _atoi                                                  ; +0xbc, 0x1003923dc\nCMP             W0, #0                                                 ; +0xc0, 0x1003923e0\nCSET            W8, NE                                                 ; +0xc4, 0x1003923e4\nSTRB            W8, [X19,#0x72C]                                       ; +0xc8, 0x1003923e8\nLDR             X8, [X21,#0xE68]                                       ; +0xcc, 0x1003923ec\nCBZ             X8, loc_10039241C                                      ; +0xd0, 0x1003923f0\nLDR             X8, [X20]                                              ; +0xd4, 0x1003923f4\nMOV             W9, #0x2B38                                            ; +0xd8, 0x1003923f8\nADD             X0, X8, X9                                             ; +0xdc, 0x1003923fc\nMOV             W9, #0x2B4F                                            ; +0xe0, 0x100392400\nLDRSB           W8, [X8,X9]                                            ; +0xe4, 0x100392404\nTBZ             W8, #0x1F, loc_100392410                               ; +0xe8, 0x100392408\nLDR             X0, [X0]; char *                                       ; +0xec, 0x10039240c\nBL              _atoi                                                  ; +0xf0, 0x100392410\nCMP             W0, #0                                                 ; +0xf4, 0x100392414\nCSET            W8, NE                                                 ; +0xf8, 0x100392418\nSTRB            W8, [X19,#0x72D]                                       ; +0xfc, 0x10039241c\nLDR             X8, [X21,#0xF38]                                       ; +0x100, 0x100392420\nCBZ             X8, loc_100392450                                      ; +0x104, 0x100392424\nLDR             X8, [X20]                                              ; +0x108, 0x100392428\nMOV             W9, #0x2DA8                                            ; +0x10c, 0x10039242c\nADD             X0, X8, X9                                             ; +0x110, 0x100392430\nMOV             W9, #0x2DBF                                            ; +0x114, 0x100392434\nLDRSB           W8, [X8,X9]                                            ; +0x118, 0x100392438\nTBZ             W8, #0x1F, loc_100392444                               ; +0x11c, 0x10039243c\nLDR             X0, [X0]; char *                                       ; +0x120, 0x100392440\nBL              _atoi                                                  ; +0x124, 0x100392444\nCMP             W0, #0                                                 ; +0x128, 0x100392448\nCSET            W8, NE                                                 ; +0x12c, 0x10039244c\nSTRB            W8, [X19,#0x72E]                                       ; +0x130, 0x100392450\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x134, 0x100392454\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x138, 0x100392458\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x13c, 0x10039245c\nRET                                                                    ; +0x140, 0x100392460", "xrefs": ["<???> @ 0x100803890"], "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"}