{"type": "func", "start": 4297470492, "end": 4297471192, "name": "EnhancedGameObject::customObjectSetup", "pseudocode": "// \n// EnhancedGameObject::customObjectSetup from 0x10026321c to 0x1002634d8 (700 bytes)\n// \n// 5 xrefs:\n// > EffectGameObject::customObjectSetup @ 0x100378250\n// > ParticleGameObject::customObjectSetup @ 0x100380c64\n// > SpecialAnimGameObject::customObjectSetup @ 0x100382334\n// > <???> @ 0x1007d05c8\n// > <???> @ 0x1007f5648\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 __fastcall EnhancedGameObject::customObjectSetup(\n        EnhancedGameObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  std::__vector_base<void *>::pointer begin; // x22\n  __int64 v7; // x8\n  std::__vector_base<std::string>::pointer capacitym1; // x0\n  void *v9; // x8\n  std::__vector_base<std::string>::pointer v10; // x0\n  void *v11; // x8\n  std::__vector_base<std::string>::pointer v12; // x0\n  std::__vector_base<std::string>::pointer v13; // x0\n  float v14; // s0\n  std::__vector_base<void *>::pointer v15; // x22\n  __int64 v16; // x8\n  std::__vector_base<std::string>::pointer v17; // x0\n  std::__vector_base<std::string>::pointer v18; // x0\n  float v19; // s0\n  std::__vector_base<std::string>::pointer v20; // x0\n  _BOOL4 v21; // w23\n  void *v22; // x8\n  std::__vector_base<std::string>::pointer v23; // x0\n  void *v24; // x8\n  std::__vector_base<std::string>::pointer v25; // x0\n  void *v26; // x8\n  std::__vector_base<std::string>::pointer v27; // x0\n  std::__vector_base<std::string>::pointer v28; // x0\n  int v29; // w0\n  void *v30; // x8\n  std::__vector_base<std::string>::pointer v31; // x0\n\n  begin = a3->__begin_;\n  v7 = *((_QWORD *)a3->__begin_ + 99);\n  if ( v7 )\n  {\n    capacitym1 = a2->__begin_ + 99;\n    if ( a2->__begin_[99].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      capacitym1 = (std::__vector_base<std::string>::pointer)capacitym1->m_data.m_long.capacitym1;\n    LOBYTE(v7) = atoi((const char *)capacitym1) != 0;\n  }\n  a1->m_isMultiActivate = v7;\n  v9 = begin[444];\n  if ( v9 )\n  {\n    v10 = a2->__begin_ + 444;\n    if ( a2->__begin_[444].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v10 = (std::__vector_base<std::string>::pointer)v10->m_data.m_long.capacitym1;\n    LOBYTE(v9) = atoi((const char *)v10) != 0;\n  }\n  a1->m_isNoMultiActivate = (char)v9;\n  if ( a1->m_hasCustomRotation )\n  {\n    v11 = begin[98];\n    if ( v11 )\n    {\n      v12 = a2->__begin_ + 98;\n      if ( a2->__begin_[98].m_data.m_short.shortStorage.__elems_[22] < 0 )\n        v12 = (std::__vector_base<std::string>::pointer)v12->m_data.m_long.capacitym1;\n      LOBYTE(v11) = atoi((const char *)v12) != 0;\n    }\n    a1->m_disableRotation = (char)v11;\n    if ( begin[97] )\n    {\n      v13 = a2->__begin_ + 97;\n      if ( a2->__begin_[97].m_data.m_short.shortStorage.__elems_[22] < 0 )\n        v13 = (std::__vector_base<std::string>::pointer)v13->m_data.m_long.capacitym1;\n      v14 = atof((const char *)v13);\n    }\n    else\n    {\n      v14 = 0.0;\n    }\n    a1->m_rotationSpeed = v14;\n    EnhancedGameObject::createRotateAction(a1, a1->m_rotationAngle, 0);\n  }\n  if ( a1->m_hasCustomAnimation )\n  {\n    v15 = a3->__begin_;\n    v16 = *((_QWORD *)a3->__begin_ + 106);\n    if ( v16 )\n    {\n      v17 = a2->__begin_ + 106;\n      if ( a2->__begin_[106].m_data.m_short.shortStorage.__elems_[22] < 0 )\n        v17 = (std::__vector_base<std::string>::pointer)v17->m_data.m_long.capacitym1;\n      LOBYTE(v16) = atoi((const char *)v17) != 0;\n    }\n    a1->m_animationRandomizedStart = v16;\n    if ( v15[107] )\n    {\n      v18 = a2->__begin_ + 107;\n      if ( a2->__begin_[107].m_data.m_short.shortStorage.__elems_[22] < 0 )\n        v18 = (std::__vector_base<std::string>::pointer)v18->m_data.m_long.capacitym1;\n      v19 = atof((const char *)v18);\n    }\n    else\n    {\n      v19 = 0.0;\n    }\n    a1->m_animationSpeed = v19;\n    if ( v15[123] )\n    {\n      v20 = a2->__begin_ + 123;\n      if ( a2->__begin_[123].m_data.m_short.shortStorage.__elems_[22] < 0 )\n        v20 = (std::__vector_base<std::string>::pointer)v20->m_data.m_long.capacitym1;\n      v21 = atoi((const char *)v20) != 0;\n    }\n    else\n    {\n      v21 = 0;\n    }\n    a1->m_animateOnTrigger = v21;\n    if ( !a1->m_animationShouldUseSpeed )\n    {\n      v22 = v15[122];\n      if ( v22 )\n      {\n        v23 = a2->__begin_ + 122;\n        if ( a2->__begin_[122].m_data.m_short.shortStorage.__elems_[22] < 0 )\n          v23 = (std::__vector_base<std::string>::pointer)v23->m_data.m_long.capacitym1;\n        LOBYTE(v22) = atoi((const char *)v23) != 0;\n      }\n      a1->m_animationShouldUseSpeed = (char)v22;\n    }\n    if ( v21 )\n    {\n      EnhancedGameObject::waitForAnimationTrigger(a1);\n      v15 = a3->__begin_;\n    }\n    v24 = v15[126];\n    if ( v24 )\n    {\n      v25 = a2->__begin_ + 126;\n      if ( a2->__begin_[126].m_data.m_short.shortStorage.__elems_[22] < 0 )\n        v25 = (std::__vector_base<std::string>::pointer)v25->m_data.m_long.capacitym1;\n      LOBYTE(v24) = atoi((const char *)v25) != 0;\n    }\n    a1->m_disableDelayedLoop = (char)v24;\n    v26 = v15[214];\n    if ( v26 )\n    {\n      v27 = a2->__begin_ + 214;\n      if ( a2->__begin_[214].m_data.m_short.shortStorage.__elems_[22] < 0 )\n        v27 = (std::__vector_base<std::string>::pointer)v27->m_data.m_long.capacitym1;\n      LOBYTE(v26) = atoi((const char *)v27) != 0;\n    }\n    a1->m_animateOnlyWhenActive = (char)v26;\n    if ( v15[462] )\n    {\n      v28 = a2->__begin_ + 462;\n      if ( a2->__begin_[462].m_data.m_short.shortStorage.__elems_[22] < 0 )\n        v28 = (std::__vector_base<std::string>::pointer)v28->m_data.m_long.capacitym1;\n      v29 = atoi((const char *)v28);\n    }\n    else\n    {\n      v29 = 0;\n    }\n    a1->m_singleFrame = v29;\n    v30 = v15[592];\n    if ( v30 )\n    {\n      v31 = a2->__begin_ + 592;\n      if ( a2->__begin_[592].m_data.m_short.shortStorage.__elems_[22] < 0 )\n        v31 = (std::__vector_base<std::string>::pointer)v31->m_data.m_long.capacitym1;\n      LOBYTE(v30) = atoi((const char *)v31) != 0;\n    }\n    a1->m_animationOffset = (char)v30;\n  }\n}", "assembly": "; \n; EnhancedGameObject::customObjectSetup from 0x10026321c to 0x1002634d8 (700 bytes)\n; \n; 5 xrefs:\n; > EffectGameObject::customObjectSetup @ 0x100378250\n; > ParticleGameObject::customObjectSetup @ 0x100380c64\n; > SpecialAnimGameObject::customObjectSetup @ 0x100382334\n; > <???> @ 0x1007d05c8\n; > <???> @ 0x1007f5648\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             X24, X23, [SP,#-0x10+var_30]!                          ; +0x0, 0x10026321c\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x100263220\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x100263224\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100263228\nADD             X29, SP, #0x30                                         ; +0x10, 0x10026322c\nMOV             X21, X2                                                ; +0x14, 0x100263230\nMOV             X20, X1                                                ; +0x18, 0x100263234\nMOV             X19, X0                                                ; +0x1c, 0x100263238\nLDR             X22, [X2]                                              ; +0x20, 0x10026323c\nLDR             X8, [X22,#0x318]                                       ; +0x24, 0x100263240\nCBZ             X8, loc_100263268                                      ; +0x28, 0x100263244\nLDR             X8, [X20]                                              ; +0x2c, 0x100263248\nADD             X0, X8, #0x948                                         ; +0x30, 0x10026324c\nLDRSB           W8, [X8,#0x95F]                                        ; +0x34, 0x100263250\nTBZ             W8, #0x1F, loc_10026325C                               ; +0x38, 0x100263254\nLDR             X0, [X0]; char *                                       ; +0x3c, 0x100263258\nBL              _atoi                                                  ; +0x40, 0x10026325c\nCMP             W0, #0                                                 ; +0x44, 0x100263260\nCSET            W8, NE                                                 ; +0x48, 0x100263264\nSTRB            W8, [X19,#0x5A2]                                       ; +0x4c, 0x100263268\nLDR             X8, [X22,#0xDE0]                                       ; +0x50, 0x10026326c\nCBZ             X8, loc_10026329C                                      ; +0x54, 0x100263270\nLDR             X8, [X20]                                              ; +0x58, 0x100263274\nMOV             W9, #0x29A0                                            ; +0x5c, 0x100263278\nADD             X0, X8, X9                                             ; +0x60, 0x10026327c\nMOV             W9, #0x29B7                                            ; +0x64, 0x100263280\nLDRSB           W8, [X8,X9]                                            ; +0x68, 0x100263284\nTBZ             W8, #0x1F, loc_100263290                               ; +0x6c, 0x100263288\nLDR             X0, [X0]; char *                                       ; +0x70, 0x10026328c\nBL              _atoi                                                  ; +0x74, 0x100263290\nCMP             W0, #0                                                 ; +0x78, 0x100263294\nCSET            W8, NE                                                 ; +0x7c, 0x100263298\nSTRB            W8, [X19,#0x5A1]                                       ; +0x80, 0x10026329c\nLDRB            W8, [X19,#0x56B]                                       ; +0x84, 0x1002632a0\nCMP             W8, #1                                                 ; +0x88, 0x1002632a4\nB.NE            loc_100263318                                          ; +0x8c, 0x1002632a8\nLDR             X8, [X22,#0x310]                                       ; +0x90, 0x1002632ac\nCBZ             X8, loc_1002632D4                                      ; +0x94, 0x1002632b0\nLDR             X8, [X20]                                              ; +0x98, 0x1002632b4\nADD             X0, X8, #0x930                                         ; +0x9c, 0x1002632b8\nLDRSB           W8, [X8,#0x947]                                        ; +0xa0, 0x1002632bc\nTBZ             W8, #0x1F, loc_1002632C8                               ; +0xa4, 0x1002632c0\nLDR             X0, [X0]; char *                                       ; +0xa8, 0x1002632c4\nBL              _atoi                                                  ; +0xac, 0x1002632c8\nCMP             W0, #0                                                 ; +0xb0, 0x1002632cc\nCSET            W8, NE                                                 ; +0xb4, 0x1002632d0\nSTRB            W8, [X19,#0x56C]                                       ; +0xb8, 0x1002632d4\nLDR             X8, [X22,#0x308]                                       ; +0xbc, 0x1002632d8\nCBZ             X8, loc_100263300                                      ; +0xc0, 0x1002632dc\nLDR             X8, [X20]                                              ; +0xc4, 0x1002632e0\nADD             X0, X8, #0x918                                         ; +0xc8, 0x1002632e4\nLDRSB           W8, [X8,#0x92F]                                        ; +0xcc, 0x1002632e8\nTBZ             W8, #0x1F, loc_1002632F4                               ; +0xd0, 0x1002632ec\nLDR             X0, [X0]; char *                                       ; +0xd4, 0x1002632f0\nBL              _atof                                                  ; +0xd8, 0x1002632f4\nFCVT            S0, D0                                                 ; +0xdc, 0x1002632f8\nB               loc_100263304                                          ; +0xe0, 0x1002632fc\nFMOV            S0, WZR                                                ; +0xe4, 0x100263300\nSTR             S0, [X19,#0x570]                                       ; +0xe8, 0x100263304\nLDR             S0, [X19,#0x574]                                       ; +0xec, 0x100263308\nMOV             X0, X19                                                ; +0xf0, 0x10026330c\nMOV             W1, #0                                                 ; +0xf4, 0x100263310\nBL              EnhancedGameObject__createRotateAction                 ; +0xf8, 0x100263314\nLDRB            W8, [X19,#0x56A]                                       ; +0xfc, 0x100263318\nCMP             W8, #1                                                 ; +0x100, 0x10026331c\nB.NE            loc_1002634C4                                          ; +0x104, 0x100263320\nLDR             X22, [X21]                                             ; +0x108, 0x100263324\nLDR             X8, [X22,#0x350]                                       ; +0x10c, 0x100263328\nCBZ             X8, loc_100263350                                      ; +0x110, 0x10026332c\nLDR             X8, [X20]                                              ; +0x114, 0x100263330\nADD             X0, X8, #0x9F0                                         ; +0x118, 0x100263334\nLDRSB           W8, [X8,#0xA07]                                        ; +0x11c, 0x100263338\nTBZ             W8, #0x1F, loc_100263344                               ; +0x120, 0x10026333c\nLDR             X0, [X0]; char *                                       ; +0x124, 0x100263340\nBL              _atoi                                                  ; +0x128, 0x100263344\nCMP             W0, #0                                                 ; +0x12c, 0x100263348\nCSET            W8, NE                                                 ; +0x130, 0x10026334c\nSTRB            W8, [X19,#0x580]                                       ; +0x134, 0x100263350\nLDR             X8, [X22,#0x358]                                       ; +0x138, 0x100263354\nCBZ             X8, loc_10026337C                                      ; +0x13c, 0x100263358\nLDR             X8, [X20]                                              ; +0x140, 0x10026335c\nADD             X0, X8, #0xA08                                         ; +0x144, 0x100263360\nLDRSB           W8, [X8,#0xA1F]                                        ; +0x148, 0x100263364\nTBZ             W8, #0x1F, loc_100263370                               ; +0x14c, 0x100263368\nLDR             X0, [X0]; char *                                       ; +0x150, 0x10026336c\nBL              _atof                                                  ; +0x154, 0x100263370\nFCVT            S0, D0                                                 ; +0x158, 0x100263374\nB               loc_100263380                                          ; +0x15c, 0x100263378\nFMOV            S0, WZR                                                ; +0x160, 0x10026337c\nSTR             S0, [X19,#0x584]                                       ; +0x164, 0x100263380\nLDR             X8, [X22,#0x3D8]                                       ; +0x168, 0x100263384\nCBZ             X8, loc_1002633B0                                      ; +0x16c, 0x100263388\nLDR             X8, [X20]                                              ; +0x170, 0x10026338c\nADD             X0, X8, #0xB88                                         ; +0x174, 0x100263390\nLDRSB           W8, [X8,#0xB9F]                                        ; +0x178, 0x100263394\nTBZ             W8, #0x1F, loc_1002633A0                               ; +0x17c, 0x100263398\nLDR             X0, [X0]; char *                                       ; +0x180, 0x10026339c\nBL              _atoi                                                  ; +0x184, 0x1002633a0\nCMP             W0, #0                                                 ; +0x188, 0x1002633a4\nCSET            W23, NE                                                ; +0x18c, 0x1002633a8\nB               loc_1002633B4                                          ; +0x190, 0x1002633ac\nMOV             W23, #0                                                ; +0x194, 0x1002633b0\nSTRB            W23, [X19,#0x589]                                      ; +0x198, 0x1002633b4\nLDRB            W8, [X19,#0x588]                                       ; +0x19c, 0x1002633b8\nTBNZ            W8, #0, loc_1002633EC                                  ; +0x1a0, 0x1002633bc\nLDR             X8, [X22,#0x3D0]                                       ; +0x1a4, 0x1002633c0\nCBZ             X8, loc_1002633E8                                      ; +0x1a8, 0x1002633c4\nLDR             X8, [X20]                                              ; +0x1ac, 0x1002633c8\nADD             X0, X8, #0xB70                                         ; +0x1b0, 0x1002633cc\nLDRSB           W8, [X8,#0xB87]                                        ; +0x1b4, 0x1002633d0\nTBZ             W8, #0x1F, loc_1002633DC                               ; +0x1b8, 0x1002633d4\nLDR             X0, [X0]; char *                                       ; +0x1bc, 0x1002633d8\nBL              _atoi                                                  ; +0x1c0, 0x1002633dc\nCMP             W0, #0                                                 ; +0x1c4, 0x1002633e0\nCSET            W8, NE                                                 ; +0x1c8, 0x1002633e4\nSTRB            W8, [X19,#0x588]                                       ; +0x1cc, 0x1002633e8\nCBZ             W23, loc_1002633FC                                     ; +0x1d0, 0x1002633ec\nMOV             X0, X19                                                ; +0x1d4, 0x1002633f0\nBL              EnhancedGameObject__waitForAnimationTrigger            ; +0x1d8, 0x1002633f4\nLDR             X22, [X21]                                             ; +0x1dc, 0x1002633f8\nLDR             X8, [X22,#0x3F0]                                       ; +0x1e0, 0x1002633fc\nCBZ             X8, loc_100263424                                      ; +0x1e4, 0x100263400\nLDR             X8, [X20]                                              ; +0x1e8, 0x100263404\nADD             X0, X8, #0xBD0                                         ; +0x1ec, 0x100263408\nLDRSB           W8, [X8,#0xBE7]                                        ; +0x1f0, 0x10026340c\nTBZ             W8, #0x1F, loc_100263418                               ; +0x1f4, 0x100263410\nLDR             X0, [X0]; char *                                       ; +0x1f8, 0x100263414\nBL              _atoi                                                  ; +0x1fc, 0x100263418\nCMP             W0, #0                                                 ; +0x200, 0x10026341c\nCSET            W8, NE                                                 ; +0x204, 0x100263420\nSTRB            W8, [X19,#0x58A]                                       ; +0x208, 0x100263424\nLDR             X8, [X22,#0x6B0]                                       ; +0x20c, 0x100263428\nCBZ             X8, loc_100263458                                      ; +0x210, 0x10026342c\nLDR             X8, [X20]                                              ; +0x214, 0x100263430\nMOV             W9, #0x1410                                            ; +0x218, 0x100263434\nADD             X0, X8, X9                                             ; +0x21c, 0x100263438\nMOV             W9, #0x1427                                            ; +0x220, 0x10026343c\nLDRSB           W8, [X8,X9]                                            ; +0x224, 0x100263440\nTBZ             W8, #0x1F, loc_10026344C                               ; +0x228, 0x100263444\nLDR             X0, [X0]; char *                                       ; +0x22c, 0x100263448\nBL              _atoi                                                  ; +0x230, 0x10026344c\nCMP             W0, #0                                                 ; +0x234, 0x100263450\nCSET            W8, NE                                                 ; +0x238, 0x100263454\nSTRB            W8, [X19,#0x5A0]                                       ; +0x23c, 0x100263458\nLDR             X8, [X22,#0xE70]                                       ; +0x240, 0x10026345c\nCBZ             X8, loc_100263488                                      ; +0x244, 0x100263460\nLDR             X8, [X20]                                              ; +0x248, 0x100263464\nMOV             W9, #0x2B50                                            ; +0x24c, 0x100263468\nADD             X0, X8, X9                                             ; +0x250, 0x10026346c\nMOV             W9, #0x2B67                                            ; +0x254, 0x100263470\nLDRSB           W8, [X8,X9]                                            ; +0x258, 0x100263474\nTBZ             W8, #0x1F, loc_100263480                               ; +0x25c, 0x100263478\nLDR             X0, [X0]; char *                                       ; +0x260, 0x10026347c\nBL              _atoi                                                  ; +0x264, 0x100263480\nB               loc_10026348C                                          ; +0x268, 0x100263484\nMOV             W0, #0                                                 ; +0x26c, 0x100263488\nSTR             W0, [X19,#0x58C]                                       ; +0x270, 0x10026348c\nLDR             X8, [X22,#0x1280]                                      ; +0x274, 0x100263490\nCBZ             X8, loc_1002634C0                                      ; +0x278, 0x100263494\nLDR             X8, [X20]                                              ; +0x27c, 0x100263498\nMOV             W9, #0x3780                                            ; +0x280, 0x10026349c\nADD             X0, X8, X9                                             ; +0x284, 0x1002634a0\nMOV             W9, #0x3797                                            ; +0x288, 0x1002634a4\nLDRSB           W8, [X8,X9]                                            ; +0x28c, 0x1002634a8\nTBZ             W8, #0x1F, loc_1002634B4                               ; +0x290, 0x1002634ac\nLDR             X0, [X0]; char *                                       ; +0x294, 0x1002634b0\nBL              _atoi                                                  ; +0x298, 0x1002634b4\nCMP             W0, #0                                                 ; +0x29c, 0x1002634b8\nCSET            W8, NE                                                 ; +0x2a0, 0x1002634bc\nSTRB            W8, [X19,#0x590]                                       ; +0x2a4, 0x1002634c0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x2a8, 0x1002634c4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x2ac, 0x1002634c8\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x2b0, 0x1002634cc\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0x2b4, 0x1002634d0\nRET                                                                    ; +0x2b8, 0x1002634d4", "xrefs": ["EffectGameObject::customObjectSetup @ 0x100378250", "ParticleGameObject::customObjectSetup @ 0x100380c64", "SpecialAnimGameObject::customObjectSetup @ 0x100382334", "<???> @ 0x1007d05c8", "<???> @ 0x1007f5648"], "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"}