{"type": "func", "start": 5183452, "end": 5183652, "name": "CheckpointGameObject::customObjectSetup", "pseudocode": "// \n// CheckpointGameObject::customObjectSetup from 0x4f17dc to 0x4f18a4 (200 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:14 +0000\n// \n\nint __fastcall CheckpointGameObject::customObjectSetup(unsigned int a1, int *a2, int a3)\n{\n  int v6; // r1\n  int v7; // r0\n  const char *v8; // r0\n  int v9; // r1\n  int v10; // r0\n  const char *v11; // r0\n  int v12; // r0\n  const char *v13; // r0\n  int v14; // r0\n  const char *v15; // r0\n  int result; // r0\n  int v17; // r0\n  const char *v18; // r0\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  v6 = *(_DWORD *)(*(_DWORD *)a3 + 204);\n  if ( v6 )\n  {\n    v7 = *a2;\n    if ( (*(_BYTE *)(*a2 + 612) & 1) != 0 )\n      v8 = *(const char **)(v7 + 620);\n    else\n      v8 = (const char *)(v7 + 613);\n    v6 = atoi(v8);\n  }\n  EffectGameObject::setTargetID(a1, v6);\n  v9 = *(_DWORD *)(*(_DWORD *)a3 + 284);\n  if ( v9 )\n  {\n    v10 = *a2;\n    if ( (*(_BYTE *)(*a2 + 852) & 1) != 0 )\n      v11 = *(const char **)(v10 + 860);\n    else\n      v11 = (const char *)(v10 + 853);\n    v9 = atoi(v11);\n  }\n  EffectGameObject::setTargetID2(a1, v9);\n  v12 = *(_DWORD *)(*(_DWORD *)a3 + 1792);\n  if ( v12 )\n  {\n    if ( (*(_BYTE *)(*a2 + 5376) & 1) != 0 )\n      v13 = *(const char **)(*a2 + 5384);\n    else\n      v13 = (const char *)(*a2 + 5377);\n    v12 = atoi(v13);\n  }\n  *(_DWORD *)(a1 + 1652) = v12;\n  v14 = *(_DWORD *)(*(_DWORD *)a3 + 2416);\n  if ( v14 )\n  {\n    if ( (*(_BYTE *)(*a2 + 7248) & 1) != 0 )\n      v15 = *(const char **)(*a2 + 7256);\n    else\n      v15 = (const char *)(*a2 + 7249);\n    v14 = atoi(v15);\n  }\n  *(_DWORD *)(a1 + 1656) = v14;\n  result = *(_DWORD *)(*(_DWORD *)a3 + 552);\n  if ( result )\n  {\n    v17 = *a2;\n    if ( (*(_BYTE *)(*a2 + 1656) & 1) != 0 )\n      v18 = *(const char **)(v17 + 1664);\n    else\n      v18 = (const char *)(v17 + 1657);\n    result = atoi(v18) != 0;\n  }\n  *(_BYTE *)(a1 + 1504) = result;\n  return result;\n}", "assembly": "; \n; CheckpointGameObject::customObjectSetup from 0x4f17dc to 0x4f18a4 (200 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:14 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x4f17dc\nMOV             R6, R2                                                 ; +0x2, 0x4f17de\nMOV             R5, R1                                                 ; +0x4, 0x4f17e0\nMOV             R4, R0                                                 ; +0x6, 0x4f17e2\nBL              _ZN16EffectGameObject17customObjectSetupERNSt6__ndk16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEERNS1_IPvNS5_ISB_EEEE; EffectGameObject::customObjectSetup(std::vector<std::string> &,std::vector<void *> &) ; +0x8, 0x4f17e4\nLDR             R3, [R6]                                               ; +0xc, 0x4f17e8\nLDR.W           R1, [R3,#0xCC]                                         ; +0xe, 0x4f17ea\nCBZ             R1, loc_4F1808                                         ; +0x12, 0x4f17ee\nLDR             R0, [R5]                                               ; +0x14, 0x4f17f0\nLDRB.W          R3, [R0,#0x264]                                        ; +0x16, 0x4f17f2\nLSLS            R2, R3, #0x1F                                          ; +0x1a, 0x4f17f6\nITE PL                                                                 ; +0x1c, 0x4f17f8\nADDWPL          R0, R0, #0x265                                         ; +0x1e, 0x4f17fa\nLDRMI.W         R0, [R0,#0x26C]; char *                                ; +0x22, 0x4f17fe\nBLX             atoi                                                   ; +0x26, 0x4f1802\nMOV             R1, R0; int                                            ; +0x2a, 0x4f1806\nMOV             R0, R4; this                                           ; +0x2c, 0x4f1808\nBL              _ZN16EffectGameObject11setTargetIDEi; EffectGameObject::setTargetID(int) ; +0x2e, 0x4f180a\nLDR             R3, [R6]                                               ; +0x32, 0x4f180e\nLDR.W           R1, [R3,#0x11C]                                        ; +0x34, 0x4f1810\nCBZ             R1, loc_4F182E                                         ; +0x38, 0x4f1814\nLDR             R0, [R5]                                               ; +0x3a, 0x4f1816\nLDRB.W          R3, [R0,#0x354]                                        ; +0x3c, 0x4f1818\nLSLS            R3, R3, #0x1F                                          ; +0x40, 0x4f181c\nITE PL                                                                 ; +0x42, 0x4f181e\nADDWPL          R0, R0, #0x355                                         ; +0x44, 0x4f1820\nLDRMI.W         R0, [R0,#0x35C]; char *                                ; +0x48, 0x4f1824\nBLX             atoi                                                   ; +0x4c, 0x4f1828\nMOV             R1, R0; int                                            ; +0x50, 0x4f182c\nMOV             R0, R4; this                                           ; +0x52, 0x4f182e\nBL              _ZN16EffectGameObject12setTargetID2Ei; EffectGameObject::setTargetID2(int) ; +0x54, 0x4f1830\nLDR             R3, [R6]                                               ; +0x58, 0x4f1834\nLDR.W           R0, [R3,#0x700]                                        ; +0x5a, 0x4f1836\nCBZ             R0, loc_4F1850                                         ; +0x5e, 0x4f183a\nLDR             R0, [R5]                                               ; +0x60, 0x4f183c\nADD.W           R0, R0, #0x1500                                        ; +0x62, 0x4f183e\nLDRB            R3, [R0]                                               ; +0x66, 0x4f1842\nLSLS            R1, R3, #0x1F                                          ; +0x68, 0x4f1844\nITE PL                                                                 ; +0x6a, 0x4f1846\nADDPL           R0, #1                                                 ; +0x6c, 0x4f1848\nLDRMI           R0, [R0,#8]; char *                                    ; +0x6e, 0x4f184a\nBLX             atoi                                                   ; +0x70, 0x4f184c\nSTR.W           R0, [R4,#0x674]                                        ; +0x74, 0x4f1850\nLDR             R3, [R6]                                               ; +0x78, 0x4f1854\nLDR.W           R0, [R3,#0x970]                                        ; +0x7a, 0x4f1856\nCBZ             R0, loc_4F1876                                         ; +0x7e, 0x4f185a\nLDR             R3, [R5]                                               ; +0x80, 0x4f185c\nMOVW            R2, #0x1C50                                            ; +0x82, 0x4f185e\nADD.W           R0, R3, #0x1C40                                        ; +0x86, 0x4f1862\nLDRB            R3, [R3,R2]                                            ; +0x8a, 0x4f1866\nADDS            R0, #0x10                                              ; +0x8c, 0x4f1868\nLSLS            R2, R3, #0x1F                                          ; +0x8e, 0x4f186a\nITE PL                                                                 ; +0x90, 0x4f186c\nADDPL           R0, #1                                                 ; +0x92, 0x4f186e\nLDRMI           R0, [R0,#8]; char *                                    ; +0x94, 0x4f1870\nBLX             atoi                                                   ; +0x96, 0x4f1872\nSTR.W           R0, [R4,#0x678]                                        ; +0x9a, 0x4f1876\nLDR             R3, [R6]                                               ; +0x9e, 0x4f187a\nLDR.W           R0, [R3,#0x228]                                        ; +0xa0, 0x4f187c\nCBZ             R0, loc_4F189E                                         ; +0xa4, 0x4f1880\nLDR             R0, [R5]                                               ; +0xa6, 0x4f1882\nLDRB.W          R3, [R0,#0x678]                                        ; +0xa8, 0x4f1884\nLSLS            R3, R3, #0x1F                                          ; +0xac, 0x4f1888\nITE PL                                                                 ; +0xae, 0x4f188a\nADDWPL          R0, R0, #0x679                                         ; +0xb0, 0x4f188c\nLDRMI.W         R0, [R0,#0x680]; char *                                ; +0xb4, 0x4f1890\nBLX             atoi                                                   ; +0xb8, 0x4f1894\nADDS            R0, #0                                                 ; +0xbc, 0x4f1898\nIT NE                                                                  ; +0xbe, 0x4f189a\nMOVNE           R0, #1                                                 ; +0xc0, 0x4f189c\nSTRB.W          R0, [R4,#0x5E0]                                        ; +0xc2, 0x4f189e\nPOP             {R4-R6,PC}                                             ; +0xc6, 0x4f18a2", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}