{"type": "func", "start": 5184884, "end": 5185106, "name": "EndTriggerGameObject::customObjectSetup", "pseudocode": "// \n// EndTriggerGameObject::customObjectSetup from 0x4f1d74 to 0x4f1e52 (222 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 EndTriggerGameObject::customObjectSetup(_BYTE *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  const char *v17; // r0\n\n  EffectGameObject::customObjectSetup((unsigned int)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((int)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((int)a1, v9);\n  v12 = *(_DWORD *)(*(_DWORD *)a3 + 1840);\n  if ( v12 )\n  {\n    if ( (*(_BYTE *)(*a2 + 5520) & 1) != 0 )\n      v13 = *(const char **)(*a2 + 5528);\n    else\n      v13 = (const char *)(*a2 + 5521);\n    LOBYTE(v12) = atoi(v13) != 0;\n  }\n  a1[1648] = v12;\n  v14 = *(_DWORD *)(*(_DWORD *)a3 + 1844);\n  if ( v14 )\n  {\n    if ( (*(_BYTE *)(*a2 + 5532) & 1) != 0 )\n      v15 = *(const char **)(*a2 + 5540);\n    else\n      v15 = (const char *)(*a2 + 5533);\n    LOBYTE(v14) = atoi(v15) != 0;\n  }\n  a1[1649] = v14;\n  result = *(_DWORD *)(*(_DWORD *)a3 + 1948);\n  if ( result )\n  {\n    if ( (*(_BYTE *)(*a2 + 5844) & 1) != 0 )\n      v17 = *(const char **)(*a2 + 5852);\n    else\n      v17 = (const char *)(*a2 + 5845);\n    result = atoi(v17) != 0;\n  }\n  a1[1650] = result;\n  return result;\n}", "assembly": "; \n; EndTriggerGameObject::customObjectSetup from 0x4f1d74 to 0x4f1e52 (222 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, 0x4f1d74\nMOV             R6, R2                                                 ; +0x2, 0x4f1d76\nMOV             R5, R1                                                 ; +0x4, 0x4f1d78\nMOV             R4, R0                                                 ; +0x6, 0x4f1d7a\nBL              _ZN16EffectGameObject17customObjectSetupERNSt6__ndk16vectorINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS5_IS7_EEEERNS1_IPvNS5_ISB_EEEE; EffectGameObject::customObjectSetup(std::vector<std::string> &,std::vector<void *> &) ; +0x8, 0x4f1d7c\nLDR             R3, [R6]                                               ; +0xc, 0x4f1d80\nLDR.W           R1, [R3,#0xCC]                                         ; +0xe, 0x4f1d82\nCBZ             R1, loc_4F1DA0                                         ; +0x12, 0x4f1d86\nLDR             R0, [R5]                                               ; +0x14, 0x4f1d88\nLDRB.W          R3, [R0,#0x264]                                        ; +0x16, 0x4f1d8a\nLSLS            R2, R3, #0x1F                                          ; +0x1a, 0x4f1d8e\nITE PL                                                                 ; +0x1c, 0x4f1d90\nADDWPL          R0, R0, #0x265                                         ; +0x1e, 0x4f1d92\nLDRMI.W         R0, [R0,#0x26C]; char *                                ; +0x22, 0x4f1d96\nBLX             atoi                                                   ; +0x26, 0x4f1d9a\nMOV             R1, R0; int                                            ; +0x2a, 0x4f1d9e\nMOV             R0, R4; this                                           ; +0x2c, 0x4f1da0\nBL              _ZN16EffectGameObject11setTargetIDEi; EffectGameObject::setTargetID(int) ; +0x2e, 0x4f1da2\nLDR             R3, [R6]                                               ; +0x32, 0x4f1da6\nLDR.W           R1, [R3,#0x11C]                                        ; +0x34, 0x4f1da8\nCBZ             R1, loc_4F1DC6                                         ; +0x38, 0x4f1dac\nLDR             R0, [R5]                                               ; +0x3a, 0x4f1dae\nLDRB.W          R3, [R0,#0x354]                                        ; +0x3c, 0x4f1db0\nLSLS            R3, R3, #0x1F                                          ; +0x40, 0x4f1db4\nITE PL                                                                 ; +0x42, 0x4f1db6\nADDWPL          R0, R0, #0x355                                         ; +0x44, 0x4f1db8\nLDRMI.W         R0, [R0,#0x35C]; char *                                ; +0x48, 0x4f1dbc\nBLX             atoi                                                   ; +0x4c, 0x4f1dc0\nMOV             R1, R0; int                                            ; +0x50, 0x4f1dc4\nMOV             R0, R4; this                                           ; +0x52, 0x4f1dc6\nBL              _ZN16EffectGameObject12setTargetID2Ei; EffectGameObject::setTargetID2(int) ; +0x54, 0x4f1dc8\nLDR             R3, [R6]                                               ; +0x58, 0x4f1dcc\nLDR.W           R0, [R3,#0x730]                                        ; +0x5a, 0x4f1dce\nCBZ             R0, loc_4F1DF4                                         ; +0x5e, 0x4f1dd2\nLDR             R3, [R5]                                               ; +0x60, 0x4f1dd4\nMOVW            R2, #0x1590                                            ; +0x62, 0x4f1dd6\nADD.W           R0, R3, #0x1580                                        ; +0x66, 0x4f1dda\nLDRB            R3, [R3,R2]                                            ; +0x6a, 0x4f1dde\nADDS            R0, #0x10                                              ; +0x6c, 0x4f1de0\nLSLS            R1, R3, #0x1F                                          ; +0x6e, 0x4f1de2\nITE PL                                                                 ; +0x70, 0x4f1de4\nADDPL           R0, #1                                                 ; +0x72, 0x4f1de6\nLDRMI           R0, [R0,#8]; char *                                    ; +0x74, 0x4f1de8\nBLX             atoi                                                   ; +0x76, 0x4f1dea\nADDS            R0, #0                                                 ; +0x7a, 0x4f1dee\nIT NE                                                                  ; +0x7c, 0x4f1df0\nMOVNE           R0, #1                                                 ; +0x7e, 0x4f1df2\nSTRB.W          R0, [R4,#0x670]                                        ; +0x80, 0x4f1df4\nLDR             R3, [R6]                                               ; +0x84, 0x4f1df8\nLDR.W           R0, [R3,#0x734]                                        ; +0x86, 0x4f1dfa\nCBZ             R0, loc_4F1E20                                         ; +0x8a, 0x4f1dfe\nLDR             R3, [R5]                                               ; +0x8c, 0x4f1e00\nMOVW            R2, #0x159C                                            ; +0x8e, 0x4f1e02\nADD.W           R0, R3, #0x1580                                        ; +0x92, 0x4f1e06\nLDRB            R3, [R3,R2]                                            ; +0x96, 0x4f1e0a\nADDS            R0, #0x1C                                              ; +0x98, 0x4f1e0c\nLSLS            R2, R3, #0x1F                                          ; +0x9a, 0x4f1e0e\nITE PL                                                                 ; +0x9c, 0x4f1e10\nADDPL           R0, #1                                                 ; +0x9e, 0x4f1e12\nLDRMI           R0, [R0,#8]; char *                                    ; +0xa0, 0x4f1e14\nBLX             atoi                                                   ; +0xa2, 0x4f1e16\nADDS            R0, #0                                                 ; +0xa6, 0x4f1e1a\nIT NE                                                                  ; +0xa8, 0x4f1e1c\nMOVNE           R0, #1                                                 ; +0xaa, 0x4f1e1e\nSTRB.W          R0, [R4,#0x671]                                        ; +0xac, 0x4f1e20\nLDR             R3, [R6]                                               ; +0xb0, 0x4f1e24\nLDR.W           R0, [R3,#0x79C]                                        ; +0xb2, 0x4f1e26\nCBZ             R0, loc_4F1E4C                                         ; +0xb6, 0x4f1e2a\nLDR             R3, [R5]                                               ; +0xb8, 0x4f1e2c\nMOVW            R2, #0x16D4                                            ; +0xba, 0x4f1e2e\nADD.W           R0, R3, #0x16C0                                        ; +0xbe, 0x4f1e32\nLDRB            R3, [R3,R2]                                            ; +0xc2, 0x4f1e36\nADDS            R0, #0x14                                              ; +0xc4, 0x4f1e38\nLSLS            R3, R3, #0x1F                                          ; +0xc6, 0x4f1e3a\nITE PL                                                                 ; +0xc8, 0x4f1e3c\nADDPL           R0, #1                                                 ; +0xca, 0x4f1e3e\nLDRMI           R0, [R0,#8]; char *                                    ; +0xcc, 0x4f1e40\nBLX             atoi                                                   ; +0xce, 0x4f1e42\nADDS            R0, #0                                                 ; +0xd2, 0x4f1e46\nIT NE                                                                  ; +0xd4, 0x4f1e48\nMOVNE           R0, #1                                                 ; +0xd6, 0x4f1e4a\nSTRB.W          R0, [R4,#0x672]                                        ; +0xd8, 0x4f1e4c\nPOP             {R4-R6,PC}                                             ; +0xdc, 0x4f1e50", "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"}