{"type": "func", "start": 4298730536, "end": 4298730904, "name": "ForceBlockGameObject::customObjectSetup", "pseudocode": "// \n// ForceBlockGameObject::customObjectSetup from 0x100396c28 to 0x100396d98 (368 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008068f0\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 ForceBlockGameObject::customObjectSetup(\n        ForceBlockGameObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  std::__vector_base<void *>::pointer begin; // x21\n  float v7; // s8\n  float v8; // s0\n  std::__vector_base<std::string>::pointer capacitym1; // x0\n  std::__vector_base<std::string>::pointer v10; // x0\n  std::__vector_base<std::string>::pointer v11; // x0\n  float v12; // s0\n  void *v13; // x8\n  std::__vector_base<std::string>::pointer v14; // x0\n  void *v15; // x8\n  std::__vector_base<std::string>::pointer v16; // x0\n  std::__vector_base<std::string>::pointer v17; // x0\n  int v18; // w0\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  begin = a3->__begin_;\n  v7 = 0.0;\n  v8 = 0.0;\n  if ( begin[149] )\n  {\n    capacitym1 = a2->__begin_ + 149;\n    if ( a2->__begin_[149].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      capacitym1 = (std::__vector_base<std::string>::pointer)capacitym1->m_data.m_long.capacitym1;\n    v8 = atof((const char *)capacitym1);\n  }\n  a1->m_force = v8;\n  if ( begin[526] )\n  {\n    v10 = a2->__begin_ + 526;\n    if ( a2->__begin_[526].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v10 = (std::__vector_base<std::string>::pointer)v10->m_data.m_long.capacitym1;\n    v7 = atof((const char *)v10);\n  }\n  a1->m_minForce = v7;\n  if ( begin[527] )\n  {\n    v11 = a2->__begin_ + 527;\n    if ( a2->__begin_[527].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v11 = (std::__vector_base<std::string>::pointer)v11->m_data.m_long.capacitym1;\n    v12 = atof((const char *)v11);\n  }\n  else\n  {\n    v12 = 0.0;\n  }\n  a1->m_maxForce = v12;\n  v13 = begin[528];\n  if ( v13 )\n  {\n    v14 = a2->__begin_ + 528;\n    if ( a2->__begin_[528].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v14 = (std::__vector_base<std::string>::pointer)v14->m_data.m_long.capacitym1;\n    LOBYTE(v13) = atoi((const char *)v14) != 0;\n  }\n  a1->m_relativeForce = (char)v13;\n  v15 = begin[529];\n  if ( v15 )\n  {\n    v16 = a2->__begin_ + 529;\n    if ( a2->__begin_[529].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v16 = (std::__vector_base<std::string>::pointer)v16->m_data.m_long.capacitym1;\n    LOBYTE(v15) = atoi((const char *)v16) != 0;\n  }\n  a1->m_forceRange = (char)v15;\n  if ( begin[530] )\n  {\n    v17 = a2->__begin_ + 530;\n    if ( a2->__begin_[530].m_data.m_short.shortStorage.__elems_[22] < 0 )\n      v17 = (std::__vector_base<std::string>::pointer)v17->m_data.m_long.capacitym1;\n    v18 = atoi((const char *)v17);\n  }\n  else\n  {\n    v18 = 0;\n  }\n  a1->m_forceID = v18;\n}", "assembly": "; \n; ForceBlockGameObject::customObjectSetup from 0x100396c28 to 0x100396d98 (368 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008068f0\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             D9, D8, [SP,#-0x10+var_30]!                            ; +0x0, 0x100396c28\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x100396c2c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x100396c30\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100396c34\nADD             X29, SP, #0x30                                         ; +0x10, 0x100396c38\nMOV             X21, X2                                                ; +0x14, 0x100396c3c\nMOV             X20, X1                                                ; +0x18, 0x100396c40\nMOV             X19, X0                                                ; +0x1c, 0x100396c44\nBL              EffectGameObject__customObjectSetup                    ; +0x20, 0x100396c48\nLDR             X21, [X21]                                             ; +0x24, 0x100396c4c\nLDR             X8, [X21,#0x4A8]                                       ; +0x28, 0x100396c50\nFMOV            S8, WZR                                                ; +0x2c, 0x100396c54\nFMOV            S0, WZR                                                ; +0x30, 0x100396c58\nCBZ             X8, loc_100396C7C                                      ; +0x34, 0x100396c5c\nLDR             X8, [X20]                                              ; +0x38, 0x100396c60\nADD             X0, X8, #0xDF8                                         ; +0x3c, 0x100396c64\nLDRSB           W8, [X8,#0xE0F]                                        ; +0x40, 0x100396c68\nTBZ             W8, #0x1F, loc_100396C74                               ; +0x44, 0x100396c6c\nLDR             X0, [X0]; char *                                       ; +0x48, 0x100396c70\nBL              _atof                                                  ; +0x4c, 0x100396c74\nFCVT            S0, D0                                                 ; +0x50, 0x100396c78\nSTR             S0, [X19,#0x72C]                                       ; +0x54, 0x100396c7c\nLDR             X8, [X21,#0x1070]                                      ; +0x58, 0x100396c80\nCBZ             X8, loc_100396CAC                                      ; +0x5c, 0x100396c84\nLDR             X8, [X20]                                              ; +0x60, 0x100396c88\nMOV             W9, #0x3150                                            ; +0x64, 0x100396c8c\nADD             X0, X8, X9                                             ; +0x68, 0x100396c90\nMOV             W9, #0x3167                                            ; +0x6c, 0x100396c94\nLDRSB           W8, [X8,X9]                                            ; +0x70, 0x100396c98\nTBZ             W8, #0x1F, loc_100396CA4                               ; +0x74, 0x100396c9c\nLDR             X0, [X0]; char *                                       ; +0x78, 0x100396ca0\nBL              _atof                                                  ; +0x7c, 0x100396ca4\nFCVT            S8, D0                                                 ; +0x80, 0x100396ca8\nSTR             S8, [X19,#0x730]                                       ; +0x84, 0x100396cac\nLDR             X8, [X21,#0x1078]                                      ; +0x88, 0x100396cb0\nCBZ             X8, loc_100396CE0                                      ; +0x8c, 0x100396cb4\nLDR             X8, [X20]                                              ; +0x90, 0x100396cb8\nMOV             W9, #0x3168                                            ; +0x94, 0x100396cbc\nADD             X0, X8, X9                                             ; +0x98, 0x100396cc0\nMOV             W9, #0x317F                                            ; +0x9c, 0x100396cc4\nLDRSB           W8, [X8,X9]                                            ; +0xa0, 0x100396cc8\nTBZ             W8, #0x1F, loc_100396CD4                               ; +0xa4, 0x100396ccc\nLDR             X0, [X0]; char *                                       ; +0xa8, 0x100396cd0\nBL              _atof                                                  ; +0xac, 0x100396cd4\nFCVT            S0, D0                                                 ; +0xb0, 0x100396cd8\nB               loc_100396CE4                                          ; +0xb4, 0x100396cdc\nFMOV            S0, WZR                                                ; +0xb8, 0x100396ce0\nSTR             S0, [X19,#0x734]                                       ; +0xbc, 0x100396ce4\nLDR             X8, [X21,#0x1080]                                      ; +0xc0, 0x100396ce8\nCBZ             X8, loc_100396D18                                      ; +0xc4, 0x100396cec\nLDR             X8, [X20]                                              ; +0xc8, 0x100396cf0\nMOV             W9, #0x3180                                            ; +0xcc, 0x100396cf4\nADD             X0, X8, X9                                             ; +0xd0, 0x100396cf8\nMOV             W9, #0x3197                                            ; +0xd4, 0x100396cfc\nLDRSB           W8, [X8,X9]                                            ; +0xd8, 0x100396d00\nTBZ             W8, #0x1F, loc_100396D0C                               ; +0xdc, 0x100396d04\nLDR             X0, [X0]; char *                                       ; +0xe0, 0x100396d08\nBL              _atoi                                                  ; +0xe4, 0x100396d0c\nCMP             W0, #0                                                 ; +0xe8, 0x100396d10\nCSET            W8, NE                                                 ; +0xec, 0x100396d14\nSTRB            W8, [X19,#0x738]                                       ; +0xf0, 0x100396d18\nLDR             X8, [X21,#0x1088]                                      ; +0xf4, 0x100396d1c\nCBZ             X8, loc_100396D4C                                      ; +0xf8, 0x100396d20\nLDR             X8, [X20]                                              ; +0xfc, 0x100396d24\nMOV             W9, #0x3198                                            ; +0x100, 0x100396d28\nADD             X0, X8, X9                                             ; +0x104, 0x100396d2c\nMOV             W9, #0x31AF                                            ; +0x108, 0x100396d30\nLDRSB           W8, [X8,X9]                                            ; +0x10c, 0x100396d34\nTBZ             W8, #0x1F, loc_100396D40                               ; +0x110, 0x100396d38\nLDR             X0, [X0]; char *                                       ; +0x114, 0x100396d3c\nBL              _atoi                                                  ; +0x118, 0x100396d40\nCMP             W0, #0                                                 ; +0x11c, 0x100396d44\nCSET            W8, NE                                                 ; +0x120, 0x100396d48\nSTRB            W8, [X19,#0x739]                                       ; +0x124, 0x100396d4c\nLDR             X8, [X21,#0x1090]                                      ; +0x128, 0x100396d50\nCBZ             X8, loc_100396D7C                                      ; +0x12c, 0x100396d54\nLDR             X8, [X20]                                              ; +0x130, 0x100396d58\nMOV             W9, #0x31B0                                            ; +0x134, 0x100396d5c\nADD             X0, X8, X9                                             ; +0x138, 0x100396d60\nMOV             W9, #0x31C7                                            ; +0x13c, 0x100396d64\nLDRSB           W8, [X8,X9]                                            ; +0x140, 0x100396d68\nTBZ             W8, #0x1F, loc_100396D74                               ; +0x144, 0x100396d6c\nLDR             X0, [X0]; char *                                       ; +0x148, 0x100396d70\nBL              _atoi                                                  ; +0x14c, 0x100396d74\nB               loc_100396D80                                          ; +0x150, 0x100396d78\nMOV             W0, #0                                                 ; +0x154, 0x100396d7c\nSTR             W0, [X19,#0x73C]                                       ; +0x158, 0x100396d80\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x15c, 0x100396d84\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x160, 0x100396d88\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x164, 0x100396d8c\nLDP             D9, D8, [SP+0x30+var_30],#0x40                         ; +0x168, 0x100396d90\nRET                                                                    ; +0x16c, 0x100396d94", "xrefs": ["<???> @ 0x1008068f0"], "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"}