{"type": "func", "start": 7724804, "end": 7725072, "name": "CheckpointGameObject::customObjectSetup", "pseudocode": "// \n// CheckpointGameObject::customObjectSetup from 0x75df04 to 0x75e010 (268 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x94458\n// > <???> @ 0x116f3a8\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 CheckpointGameObject::customObjectSetup(\n        CheckpointGameObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  int v6; // w0\n  int v7; // w0\n  void **m_start; // x21\n  int v9; // w0\n  void *v10; // x1\n  void *v11; // x1\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  if ( *((_QWORD *)a3->m_start + 51) )\n  {\n    v6 = atoi((const char *)a2->m_start[51].m_data.m_data);\n    EffectGameObject::setTargetID(a1, v6);\n    if ( *((_QWORD *)a3->m_start + 71) )\n      goto LABEL_3;\n  }\n  else\n  {\n    EffectGameObject::setTargetID(a1, 0);\n    if ( *((_QWORD *)a3->m_start + 71) )\n    {\nLABEL_3:\n      v7 = atoi((const char *)a2->m_start[71].m_data.m_data);\n      EffectGameObject::setTargetID2(a1, v7);\n      m_start = a3->m_start;\n      if ( m_start[448] )\n        goto LABEL_4;\nLABEL_8:\n      v11 = m_start[138];\n      a1->m_respawnID = 0;\n      if ( v11 )\n        goto LABEL_5;\n      goto LABEL_9;\n    }\n  }\n  EffectGameObject::setTargetID2(a1, 0);\n  m_start = a3->m_start;\n  if ( !m_start[448] )\n    goto LABEL_8;\nLABEL_4:\n  v9 = atoi((const char *)a2->m_start[448].m_data.m_data);\n  v10 = m_start[138];\n  a1->m_respawnID = v9;\n  if ( v10 )\n  {\nLABEL_5:\n    a1->m_targetPlayer1 = atoi((const char *)a2->m_start[138].m_data.m_data) != 0;\n    return;\n  }\nLABEL_9:\n  a1->m_targetPlayer1 = 0;\n}", "assembly": "; \n; CheckpointGameObject::customObjectSetup from 0x75df04 to 0x75e010 (268 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x94458\n; > <???> @ 0x116f3a8\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_30]!                                ; +0x0, 0x75df04\nMOV             X29, SP                                                ; +0x4, 0x75df08\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x8, 0x75df0c\nMOV             X21, X2                                                ; +0xc, 0x75df10\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x10, 0x75df14\nMOV             X19, X0                                                ; +0x14, 0x75df18\nMOV             X20, X1                                                ; +0x18, 0x75df1c\nBL              _ZN16EffectGameObject17customObjectSetupERSt6vectorISsSaISsEERS0_IPvSaIS4_EE; EffectGameObject::customObjectSetup(std::vector<std::string> &,std::vector&<void *,std::allocator<std::vector&>>) ; +0x1c, 0x75df20\nLDR             X0, [X21]                                              ; +0x20, 0x75df24\nLDR             X0, [X0,#0x198]                                        ; +0x24, 0x75df28\nCBZ             X0, loc_75DFB8                                         ; +0x28, 0x75df2c\nLDR             X0, [X20]                                              ; +0x2c, 0x75df30\nLDR             X0, [X0,#0x198]; char *                                ; +0x30, 0x75df34\nBL              .atoi                                                  ; +0x34, 0x75df38\nMOV             W1, W0; int                                            ; +0x38, 0x75df3c\nMOV             X0, X19; this                                          ; +0x3c, 0x75df40\nBL              _ZN16EffectGameObject11setTargetIDEi; EffectGameObject::setTargetID(int) ; +0x40, 0x75df44\nLDR             X0, [X21]                                              ; +0x44, 0x75df48\nLDR             X0, [X0,#0x238]                                        ; +0x48, 0x75df4c\nCBZ             X0, loc_75DFD0                                         ; +0x4c, 0x75df50\nLDR             X0, [X20]                                              ; +0x50, 0x75df54\nLDR             X0, [X0,#0x238]; char *                                ; +0x54, 0x75df58\nBL              .atoi                                                  ; +0x58, 0x75df5c\nMOV             W1, W0; int                                            ; +0x5c, 0x75df60\nMOV             X0, X19; this                                          ; +0x60, 0x75df64\nBL              _ZN16EffectGameObject12setTargetID2Ei; EffectGameObject::setTargetID2(int) ; +0x64, 0x75df68\nLDR             X21, [X21]                                             ; +0x68, 0x75df6c\nLDR             X0, [X21,#0xE00]                                       ; +0x6c, 0x75df70\nCBZ             X0, loc_75DFE8                                         ; +0x70, 0x75df74\nLDR             X0, [X20]                                              ; +0x74, 0x75df78\nLDR             X0, [X0,#0xE00]; char *                                ; +0x78, 0x75df7c\nBL              .atoi                                                  ; +0x7c, 0x75df80\nLDR             X1, [X21,#0x450]                                       ; +0x80, 0x75df84\nSTR             W0, [X19,#0x720]                                       ; +0x84, 0x75df88\nCBZ             X1, loc_75DFF8                                         ; +0x88, 0x75df8c\nLDR             X0, [X20]                                              ; +0x8c, 0x75df90\nLDR             X0, [X0,#0x450]; char *                                ; +0x90, 0x75df94\nBL              .atoi                                                  ; +0x94, 0x75df98\nCMP             W0, WZR                                                ; +0x98, 0x75df9c\nCSET            W0, NE                                                 ; +0x9c, 0x75dfa0\nSTRB            W0, [X19,#0x684]                                       ; +0xa0, 0x75dfa4\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xa4, 0x75dfa8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xa8, 0x75dfac\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xac, 0x75dfb0\nRET                                                                    ; +0xb0, 0x75dfb4\nMOV             X0, X19; this                                          ; +0xb4, 0x75dfb8\nMOV             W1, #0; int                                            ; +0xb8, 0x75dfbc\nBL              _ZN16EffectGameObject11setTargetIDEi; EffectGameObject::setTargetID(int) ; +0xbc, 0x75dfc0\nLDR             X0, [X21]                                              ; +0xc0, 0x75dfc4\nLDR             X0, [X0,#0x238]                                        ; +0xc4, 0x75dfc8\nCBNZ            X0, loc_75DF54                                         ; +0xc8, 0x75dfcc\nMOV             X0, X19; this                                          ; +0xcc, 0x75dfd0\nMOV             W1, #0; int                                            ; +0xd0, 0x75dfd4\nBL              _ZN16EffectGameObject12setTargetID2Ei; EffectGameObject::setTargetID2(int) ; +0xd4, 0x75dfd8\nLDR             X21, [X21]                                             ; +0xd8, 0x75dfdc\nLDR             X0, [X21,#0xE00]                                       ; +0xdc, 0x75dfe0\nCBNZ            X0, loc_75DF78                                         ; +0xe0, 0x75dfe4\nLDR             X1, [X21,#0x450]                                       ; +0xe4, 0x75dfe8\nMOV             W0, #0                                                 ; +0xe8, 0x75dfec\nSTR             W0, [X19,#0x720]                                       ; +0xec, 0x75dff0\nCBNZ            X1, loc_75DF90                                         ; +0xf0, 0x75dff4\nMOV             W0, #0                                                 ; +0xf4, 0x75dff8\nSTRB            W0, [X19,#0x684]                                       ; +0xf8, 0x75dffc\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xfc, 0x75e000\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x100, 0x75e004\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x104, 0x75e008\nRET                                                                    ; +0x108, 0x75e00c", "xrefs": ["<???> @ 0x94458", "<???> @ 0x116f3a8"], "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"}