{"type": "func", "start": 4298704432, "end": 4298704696, "name": "CheckpointGameObject::customObjectSetup", "pseudocode": "// \n// CheckpointGameObject::customObjectSetup from 0x100390630 to 0x100390738 (264 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100802060\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 CheckpointGameObject::customObjectSetup(\n        CheckpointGameObject *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  std::__vector_base<std::string>::pointer v13; // x0\n  int v14; // w0\n  void *v15; // x8\n  std::__vector_base<std::string>::pointer v16; // 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  if ( begin[448] )\n  {\n    v13 = a2->__begin_ + 448;\n    if ( a2->__begin_[448].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_respawnID = v14;\n  v15 = begin[138];\n  if ( v15 )\n  {\n    v16 = a2->__begin_ + 138;\n    if ( a2->__begin_[138].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_targetPlayer1 = (char)v15;\n}", "assembly": "; \n; CheckpointGameObject::customObjectSetup from 0x100390630 to 0x100390738 (264 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100802060\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, 0x100390630\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100390634\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100390638\nADD             X29, SP, #0x20                                         ; +0xc, 0x10039063c\nMOV             X21, X2                                                ; +0x10, 0x100390640\nMOV             X20, X1                                                ; +0x14, 0x100390644\nMOV             X19, X0                                                ; +0x18, 0x100390648\nBL              EffectGameObject__customObjectSetup                    ; +0x1c, 0x10039064c\nLDR             X21, [X21]                                             ; +0x20, 0x100390650\nLDR             X8, [X21,#0x198]                                       ; +0x24, 0x100390654\nCBZ             X8, loc_100390678                                      ; +0x28, 0x100390658\nLDR             X8, [X20]                                              ; +0x2c, 0x10039065c\nADD             X0, X8, #0x4C8                                         ; +0x30, 0x100390660\nLDRSB           W8, [X8,#0x4DF]                                        ; +0x34, 0x100390664\nTBZ             W8, #0x1F, loc_100390670                               ; +0x38, 0x100390668\nLDR             X0, [X0]; char *                                       ; +0x3c, 0x10039066c\nBL              _atoi                                                  ; +0x40, 0x100390670\nB               loc_10039067C                                          ; +0x44, 0x100390674\nMOV             W0, #0                                                 ; +0x48, 0x100390678\nBIC             W8, W0, W0,ASR#31                                      ; +0x4c, 0x10039067c\nMOV             W22, #0x270F                                           ; +0x50, 0x100390680\nCMP             W8, W22                                                ; +0x54, 0x100390684\nCSEL            W8, W8, W22, LT                                        ; +0x58, 0x100390688\nSTR             W8, [X19,#0x5B8]                                       ; +0x5c, 0x10039068c\nLDR             X8, [X21,#0x238]                                       ; +0x60, 0x100390690\nCBZ             X8, loc_1003906B4                                      ; +0x64, 0x100390694\nLDR             X8, [X20]                                              ; +0x68, 0x100390698\nADD             X0, X8, #0x6A8                                         ; +0x6c, 0x10039069c\nLDRSB           W8, [X8,#0x6BF]                                        ; +0x70, 0x1003906a0\nTBZ             W8, #0x1F, loc_1003906AC                               ; +0x74, 0x1003906a4\nLDR             X0, [X0]; char *                                       ; +0x78, 0x1003906a8\nBL              _atoi                                                  ; +0x7c, 0x1003906ac\nB               loc_1003906B8                                          ; +0x80, 0x1003906b0\nMOV             W0, #0                                                 ; +0x84, 0x1003906b4\nBIC             W8, W0, W0,ASR#31                                      ; +0x88, 0x1003906b8\nCMP             W8, W22                                                ; +0x8c, 0x1003906bc\nCSEL            W8, W8, W22, LT                                        ; +0x90, 0x1003906c0\nSTR             W8, [X19,#0x5BC]                                       ; +0x94, 0x1003906c4\nLDR             X8, [X21,#0xE00]                                       ; +0x98, 0x1003906c8\nCBZ             X8, loc_1003906F4                                      ; +0x9c, 0x1003906cc\nLDR             X8, [X20]                                              ; +0xa0, 0x1003906d0\nMOV             W9, #0x2A00                                            ; +0xa4, 0x1003906d4\nADD             X0, X8, X9                                             ; +0xa8, 0x1003906d8\nMOV             W9, #0x2A17                                            ; +0xac, 0x1003906dc\nLDRSB           W8, [X8,X9]                                            ; +0xb0, 0x1003906e0\nTBZ             W8, #0x1F, loc_1003906EC                               ; +0xb4, 0x1003906e4\nLDR             X0, [X0]; char *                                       ; +0xb8, 0x1003906e8\nBL              _atoi                                                  ; +0xbc, 0x1003906ec\nB               loc_1003906F8                                          ; +0xc0, 0x1003906f0\nMOV             W0, #0                                                 ; +0xc4, 0x1003906f4\nSTR             W0, [X19,#0x730]                                       ; +0xc8, 0x1003906f8\nLDR             X8, [X21,#0x450]                                       ; +0xcc, 0x1003906fc\nCBZ             X8, loc_100390724                                      ; +0xd0, 0x100390700\nLDR             X8, [X20]                                              ; +0xd4, 0x100390704\nADD             X0, X8, #0xCF0                                         ; +0xd8, 0x100390708\nLDRSB           W8, [X8,#0xD07]                                        ; +0xdc, 0x10039070c\nTBZ             W8, #0x1F, loc_100390718                               ; +0xe0, 0x100390710\nLDR             X0, [X0]; char *                                       ; +0xe4, 0x100390714\nBL              _atoi                                                  ; +0xe8, 0x100390718\nCMP             W0, #0                                                 ; +0xec, 0x10039071c\nCSET            W8, NE                                                 ; +0xf0, 0x100390720\nSTRB            W8, [X19,#0x694]                                       ; +0xf4, 0x100390724\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xf8, 0x100390728\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xfc, 0x10039072c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x100, 0x100390730\nRET                                                                    ; +0x104, 0x100390734", "xrefs": ["<???> @ 0x100802060"], "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"}