{"type": "func", "start": 4104954, "end": 4105100, "name": "EndTriggerGameObject::customObjectSetup", "pseudocode": "// \n// EndTriggerGameObject::customObjectSetup from 0x3ea2fa to 0x3ea38c (146 bytes)\n// \n// 0 xrefs:\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 EndTriggerGameObject::customObjectSetup(\n        EndTriggerGameObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  int v6; // r1\n  int v7; // r1\n  void **m_start; // r6\n  void *v9; // r0\n  void *v10; // r0\n  void *v11; // r0\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  v6 = *((_DWORD *)a3->m_start + 51);\n  if ( v6 )\n    v6 = atoi((const char *)a2->m_start[51].m_data.m_data);\n  EffectGameObject::setTargetID(a1, v6);\n  v7 = *((_DWORD *)a3->m_start + 71);\n  if ( v7 )\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  v9 = m_start[460];\n  if ( v9 )\n    LOBYTE(v9) = atoi((const char *)a2->m_start[460].m_data.m_data) != 0;\n  a1->m_noEffects = (char)v9;\n  v10 = m_start[461];\n  if ( v10 )\n    LOBYTE(v10) = atoi((const char *)a2->m_start[461].m_data.m_data) != 0;\n  a1->m_noSFX = (char)v10;\n  v11 = m_start[487];\n  if ( v11 )\n    LOBYTE(v11) = atoi((const char *)a2->m_start[487].m_data.m_data) != 0;\n  a1->m_instant = (char)v11;\n}", "assembly": "; \n; EndTriggerGameObject::customObjectSetup from 0x3ea2fa to 0x3ea38c (146 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3ea2fa\nMOV             R6, R2                                                 ; +0x2, 0x3ea2fc\nMOV             R5, R1                                                 ; +0x4, 0x3ea2fe\nMOV             R4, R0                                                 ; +0x6, 0x3ea300\nBL              _ZN16EffectGameObject17customObjectSetupERSt6vectorISsSaISsEERS0_IPvSaIS4_EE; EffectGameObject::customObjectSetup(std::vector<std::string> &,std::vector&<void *,std::allocator<std::vector&>>) ; +0x8, 0x3ea302\nLDR             R3, [R6]                                               ; +0xc, 0x3ea306\nLDR.W           R1, [R3,#0xCC]                                         ; +0xe, 0x3ea308\nCBZ             R1, loc_3EA31A                                         ; +0x12, 0x3ea30c\nLDR             R3, [R5]                                               ; +0x14, 0x3ea30e\nLDR.W           R0, [R3,#0xCC]; char *                                 ; +0x16, 0x3ea310\nBLX             atoi                                                   ; +0x1a, 0x3ea314\nMOV             R1, R0; int                                            ; +0x1e, 0x3ea318\nMOV             R0, R4; this                                           ; +0x20, 0x3ea31a\nBL              _ZN16EffectGameObject11setTargetIDEi; EffectGameObject::setTargetID(int) ; +0x22, 0x3ea31c\nLDR             R3, [R6]                                               ; +0x26, 0x3ea320\nLDR.W           R1, [R3,#0x11C]                                        ; +0x28, 0x3ea322\nCBZ             R1, loc_3EA334                                         ; +0x2c, 0x3ea326\nLDR             R3, [R5]                                               ; +0x2e, 0x3ea328\nLDR.W           R0, [R3,#0x11C]; char *                                ; +0x30, 0x3ea32a\nBLX             atoi                                                   ; +0x34, 0x3ea32e\nMOV             R1, R0; int                                            ; +0x38, 0x3ea332\nMOV             R0, R4; this                                           ; +0x3a, 0x3ea334\nBL              _ZN16EffectGameObject12setTargetID2Ei; EffectGameObject::setTargetID2(int) ; +0x3c, 0x3ea336\nLDR             R6, [R6]                                               ; +0x40, 0x3ea33a\nLDR.W           R0, [R6,#0x730]                                        ; +0x42, 0x3ea33c\nCBZ             R0, loc_3EA352                                         ; +0x46, 0x3ea340\nLDR             R3, [R5]                                               ; +0x48, 0x3ea342\nLDR.W           R0, [R3,#0x730]; char *                                ; +0x4a, 0x3ea344\nBLX             atoi                                                   ; +0x4e, 0x3ea348\nADDS            R0, #0                                                 ; +0x52, 0x3ea34c\nIT NE                                                                  ; +0x54, 0x3ea34e\nMOVNE           R0, #1                                                 ; +0x56, 0x3ea350\nSTRB.W          R0, [R4,#0x664]                                        ; +0x58, 0x3ea352\nLDR.W           R0, [R6,#0x734]                                        ; +0x5c, 0x3ea356\nCBZ             R0, loc_3EA36C                                         ; +0x60, 0x3ea35a\nLDR             R3, [R5]                                               ; +0x62, 0x3ea35c\nLDR.W           R0, [R3,#0x734]; char *                                ; +0x64, 0x3ea35e\nBLX             atoi                                                   ; +0x68, 0x3ea362\nADDS            R0, #0                                                 ; +0x6c, 0x3ea366\nIT NE                                                                  ; +0x6e, 0x3ea368\nMOVNE           R0, #1                                                 ; +0x70, 0x3ea36a\nSTRB.W          R0, [R4,#0x665]                                        ; +0x72, 0x3ea36c\nLDR.W           R0, [R6,#0x79C]                                        ; +0x76, 0x3ea370\nCBZ             R0, loc_3EA386                                         ; +0x7a, 0x3ea374\nLDR             R3, [R5]                                               ; +0x7c, 0x3ea376\nLDR.W           R0, [R3,#0x79C]; char *                                ; +0x7e, 0x3ea378\nBLX             atoi                                                   ; +0x82, 0x3ea37c\nADDS            R0, #0                                                 ; +0x86, 0x3ea380\nIT NE                                                                  ; +0x88, 0x3ea382\nMOVNE           R0, #1                                                 ; +0x8a, 0x3ea384\nSTRB.W          R0, [R4,#0x666]                                        ; +0x8c, 0x3ea386\nPOP             {R4-R6,PC}                                             ; +0x90, 0x3ea38a", "xrefs": [], "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"}