{"type": "func", "start": 8987272, "end": 8987704, "name": "CheckpointGameObject::customObjectSetup", "pseudocode": "// \n// CheckpointGameObject::customObjectSetup from 0x892288 to 0x892438 (432 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xa0048\n// > <???> @ 0x1450b08\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:56:08 +0000\n// \n\nbool __fastcall CheckpointGameObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 a3)\n{\n  const char *v6; // x0\n  int v7; // w0\n  const char *v8; // x0\n  int v9; // w0\n  const char *v10; // x0\n  const char *v11; // x0\n  const char *v12; // x0\n  _BOOL8 result; // x0\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  if ( !*(_QWORD *)(*(_QWORD *)a3 + 408LL) )\n  {\n    EffectGameObject::setTargetID(a1, 0);\n    if ( *(_QWORD *)(*(_QWORD *)a3 + 568LL) )\n      goto LABEL_5;\nLABEL_18:\n    EffectGameObject::setTargetID2(a1, 0);\n    if ( *(_QWORD *)(*(_QWORD *)a3 + 3584LL) )\n      goto LABEL_8;\nLABEL_19:\n    *(_DWORD *)(a1 + 1844) = 0;\n    if ( *(_QWORD *)(*(_QWORD *)a3 + 4832LL) )\n      goto LABEL_11;\n    goto LABEL_20;\n  }\n  v6 = (const char *)(*a2 + 1225);\n  if ( (*(_BYTE *)(*a2 + 1224) & 1) != 0 )\n    v6 = *(const char **)(*a2 + 1240);\n  v7 = atoi(v6);\n  EffectGameObject::setTargetID(a1, v7);\n  if ( !*(_QWORD *)(*(_QWORD *)a3 + 568LL) )\n    goto LABEL_18;\nLABEL_5:\n  v8 = (const char *)(*a2 + 1705);\n  if ( (*(_BYTE *)(*a2 + 1704) & 1) != 0 )\n    v8 = *(const char **)(*a2 + 1720);\n  v9 = atoi(v8);\n  EffectGameObject::setTargetID2(a1, v9);\n  if ( !*(_QWORD *)(*(_QWORD *)a3 + 3584LL) )\n    goto LABEL_19;\nLABEL_8:\n  v10 = (const char *)(*a2 + 10753);\n  if ( (*(_BYTE *)(*a2 + 10752) & 1) != 0 )\n    v10 = *(const char **)(*a2 + 10768);\n  *(_DWORD *)(a1 + 1844) = atoi(v10);\n  if ( *(_QWORD *)(*(_QWORD *)a3 + 4832LL) )\n  {\nLABEL_11:\n    v11 = (const char *)(*a2 + 14497);\n    if ( (*(_BYTE *)(*a2 + 14496) & 1) != 0 )\n      v11 = *(const char **)(*a2 + 14512);\n    *(_DWORD *)(a1 + 1848) = atoi(v11);\n    if ( *(_QWORD *)(*(_QWORD *)a3 + 1104LL) )\n      goto LABEL_14;\nLABEL_21:\n    *(_BYTE *)(a1 + 1684) = 0;\n    return 0;\n  }\nLABEL_20:\n  *(_DWORD *)(a1 + 1848) = 0;\n  if ( !*(_QWORD *)(*(_QWORD *)a3 + 1104LL) )\n    goto LABEL_21;\nLABEL_14:\n  v12 = (const char *)(*a2 + 3313);\n  if ( (*(_BYTE *)(*a2 + 3312) & 1) != 0 )\n    v12 = *(const char **)(*a2 + 3328);\n  result = atoi(v12) != 0;\n  *(_BYTE *)(a1 + 1684) = result;\n  return result;\n}", "assembly": "; \n; CheckpointGameObject::customObjectSetup from 0x892288 to 0x892438 (432 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xa0048\n; > <???> @ 0x1450b08\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:56:08 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x892288\nMOV             X29, SP                                                ; +0x4, 0x89228c\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x892290\nMOV             X20, X2                                                ; +0xc, 0x892294\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0x892298\nMOV             X19, X0                                                ; +0x14, 0x89229c\nMOV             X21, X1                                                ; +0x18, 0x8922a0\nBL              _ZN16EffectGameObject17customObjectSetupERNSt6__ndk16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEERNS1_IPvNS5_ISB_EEEE; EffectGameObject::customObjectSetup(std::vector<std::string> &,std::vector<void *> &) ; +0x1c, 0x8922a4\nLDR             X0, [X20]                                              ; +0x20, 0x8922a8\nLDR             X0, [X0,#0x198]                                        ; +0x24, 0x8922ac\nCBZ             X0, loc_8923C8                                         ; +0x28, 0x8922b0\nLDR             X1, [X21]                                              ; +0x2c, 0x8922b4\nADD             X2, X1, #0x4C8                                         ; +0x30, 0x8922b8\nADD             X0, X1, #0x4C9; char *                                 ; +0x34, 0x8922bc\nLDRB            W1, [X1,#0x4C8]                                        ; +0x38, 0x8922c0\nTBNZ            W1, #0, loc_8923C0                                     ; +0x3c, 0x8922c4\nBL              .atoi                                                  ; +0x40, 0x8922c8\nMOV             W1, W0; int                                            ; +0x44, 0x8922cc\nMOV             X0, X19; this                                          ; +0x48, 0x8922d0\nBL              _ZN16EffectGameObject11setTargetIDEi; EffectGameObject::setTargetID(int) ; +0x4c, 0x8922d4\nLDR             X0, [X20]                                              ; +0x50, 0x8922d8\nLDR             X0, [X0,#0x238]                                        ; +0x54, 0x8922dc\nCBZ             X0, loc_8923E0                                         ; +0x58, 0x8922e0\nLDR             X1, [X21]                                              ; +0x5c, 0x8922e4\nADD             X2, X1, #0x6A8                                         ; +0x60, 0x8922e8\nADD             X0, X1, #0x6A9; char *                                 ; +0x64, 0x8922ec\nLDRB            W1, [X1,#0x6A8]                                        ; +0x68, 0x8922f0\nTBNZ            W1, #0, loc_8923B8                                     ; +0x6c, 0x8922f4\nBL              .atoi                                                  ; +0x70, 0x8922f8\nMOV             W1, W0; int                                            ; +0x74, 0x8922fc\nMOV             X0, X19; this                                          ; +0x78, 0x892300\nBL              _ZN16EffectGameObject12setTargetID2Ei; EffectGameObject::setTargetID2(int) ; +0x7c, 0x892304\nLDR             X0, [X20]                                              ; +0x80, 0x892308\nLDR             X0, [X0,#0xE00]                                        ; +0x84, 0x89230c\nCBZ             X0, loc_8923F8                                         ; +0x88, 0x892310\nLDR             X1, [X21]                                              ; +0x8c, 0x892314\nADD             X1, X1, #2,LSL#12                                      ; +0x90, 0x892318\nADD             X2, X1, #0xA00                                         ; +0x94, 0x89231c\nADD             X0, X1, #0xA01; char *                                 ; +0x98, 0x892320\nLDRB            W1, [X1,#0xA00]                                        ; +0x9c, 0x892324\nTBNZ            W1, #0, loc_8923B0                                     ; +0xa0, 0x892328\nBL              .atoi                                                  ; +0xa4, 0x89232c\nSTR             W0, [X19,#0x734]                                       ; +0xa8, 0x892330\nLDR             X0, [X20]                                              ; +0xac, 0x892334\nLDR             X0, [X0,#0x12E0]                                       ; +0xb0, 0x892338\nCBZ             X0, loc_89240C                                         ; +0xb4, 0x89233c\nLDR             X1, [X21]                                              ; +0xb8, 0x892340\nADD             X1, X1, #3,LSL#12                                      ; +0xbc, 0x892344\nADD             X2, X1, #0x8A0                                         ; +0xc0, 0x892348\nADD             X0, X1, #0x8A1; char *                                 ; +0xc4, 0x89234c\nLDRB            W1, [X1,#0x8A0]                                        ; +0xc8, 0x892350\nTBNZ            W1, #0, loc_8923A8                                     ; +0xcc, 0x892354\nBL              .atoi                                                  ; +0xd0, 0x892358\nSTR             W0, [X19,#0x738]                                       ; +0xd4, 0x89235c\nLDR             X0, [X20]                                              ; +0xd8, 0x892360\nLDR             X0, [X0,#0x450]                                        ; +0xdc, 0x892364\nCBZ             X0, loc_892420                                         ; +0xe0, 0x892368\nLDR             X1, [X21]                                              ; +0xe4, 0x89236c\nADD             X2, X1, #0xCF0                                         ; +0xe8, 0x892370\nADD             X0, X1, #0xCF1; char *                                 ; +0xec, 0x892374\nLDRB            W1, [X1,#0xCF0]                                        ; +0xf0, 0x892378\nTBNZ            W1, #0, loc_8923A0                                     ; +0xf4, 0x89237c\nBL              .atoi                                                  ; +0xf8, 0x892380\nCMP             W0, WZR                                                ; +0xfc, 0x892384\nCSET            W0, NE                                                 ; +0x100, 0x892388\nSTRB            W0, [X19,#0x694]                                       ; +0x104, 0x89238c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x108, 0x892390\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x10c, 0x892394\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x110, 0x892398\nRET                                                                    ; +0x114, 0x89239c\nLDR             X0, [X2,#0x10]                                         ; +0x118, 0x8923a0\nB               loc_892380                                             ; +0x11c, 0x8923a4\nLDR             X0, [X2,#0x10]                                         ; +0x120, 0x8923a8\nB               loc_892358                                             ; +0x124, 0x8923ac\nLDR             X0, [X2,#0x10]                                         ; +0x128, 0x8923b0\nB               loc_89232C                                             ; +0x12c, 0x8923b4\nLDR             X0, [X2,#0x10]                                         ; +0x130, 0x8923b8\nB               loc_8922F8                                             ; +0x134, 0x8923bc\nLDR             X0, [X2,#0x10]                                         ; +0x138, 0x8923c0\nB               loc_8922C8                                             ; +0x13c, 0x8923c4\nMOV             X0, X19; this                                          ; +0x140, 0x8923c8\nMOV             W1, #0; int                                            ; +0x144, 0x8923cc\nBL              _ZN16EffectGameObject11setTargetIDEi; EffectGameObject::setTargetID(int) ; +0x148, 0x8923d0\nLDR             X0, [X20]                                              ; +0x14c, 0x8923d4\nLDR             X0, [X0,#0x238]                                        ; +0x150, 0x8923d8\nCBNZ            X0, loc_8922E4                                         ; +0x154, 0x8923dc\nMOV             X0, X19; this                                          ; +0x158, 0x8923e0\nMOV             W1, #0; int                                            ; +0x15c, 0x8923e4\nBL              _ZN16EffectGameObject12setTargetID2Ei; EffectGameObject::setTargetID2(int) ; +0x160, 0x8923e8\nLDR             X0, [X20]                                              ; +0x164, 0x8923ec\nLDR             X0, [X0,#0xE00]                                        ; +0x168, 0x8923f0\nCBNZ            X0, loc_892314                                         ; +0x16c, 0x8923f4\nMOV             W0, #0                                                 ; +0x170, 0x8923f8\nSTR             W0, [X19,#0x734]                                       ; +0x174, 0x8923fc\nLDR             X0, [X20]                                              ; +0x178, 0x892400\nLDR             X0, [X0,#0x12E0]                                       ; +0x17c, 0x892404\nCBNZ            X0, loc_892340                                         ; +0x180, 0x892408\nMOV             W0, #0                                                 ; +0x184, 0x89240c\nSTR             W0, [X19,#0x738]                                       ; +0x188, 0x892410\nLDR             X0, [X20]                                              ; +0x18c, 0x892414\nLDR             X0, [X0,#0x450]                                        ; +0x190, 0x892418\nCBNZ            X0, loc_89236C                                         ; +0x194, 0x89241c\nMOV             W0, #0                                                 ; +0x198, 0x892420\nSTRB            W0, [X19,#0x694]                                       ; +0x19c, 0x892424\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x1a0, 0x892428\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x1a4, 0x89242c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x1a8, 0x892430\nRET                                                                    ; +0x1ac, 0x892434", "xrefs": ["<???> @ 0xa0048", "<???> @ 0x1450b08"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}