{"type": "func", "start": 4296985280, "end": 4296985736, "name": "ForceBlockGameObject::customObjectSetup", "pseudocode": "// \n// ForceBlockGameObject::customObjectSetup from 0x1001ecac0 to 0x1001ecc88 (456 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008d5878\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; // r12\n  float v6; // xmm1_4\n  float v7; // xmm0_4\n  std::__vector_base<std::string>::pointer v8; // rdi\n  const char *longStorage; // rdi\n  std::__vector_base<std::string>::pointer v10; // rdi\n  const char *elems; // rdi\n  std::__vector_base<std::string>::pointer v12; // rdi\n  const char *v13; // rdi\n  int v14; // r15d\n  float v15; // xmm0_4\n  std::__vector_base<std::string>::pointer v16; // rdi\n  const char *v17; // rdi\n  std::__vector_base<std::string>::pointer v18; // rdi\n  const char *v19; // rdi\n  std::__vector_base<std::string>::pointer v20; // rdi\n  const char *v21; // rdi\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  begin = a3->__begin_;\n  v6 = 0.0;\n  v7 = 0.0;\n  if ( *((_QWORD *)a3->__begin_ + 149) )\n  {\n    v8 = a2->__begin_;\n    if ( (a2->__begin_[149].m_data.m_short.sizex2 & 1) != 0 )\n      longStorage = v8[149].m_data.m_long.longStorage;\n    else\n      longStorage = v8[149].m_data.m_short.shortStorage.__elems_;\n    v7 = atof(longStorage);\n    v6 = 0.0;\n  }\n  a1->m_force = v7;\n  if ( begin[526] )\n  {\n    v10 = a2->__begin_;\n    if ( (a2->__begin_[526].m_data.m_short.sizex2 & 1) != 0 )\n      elems = v10[526].m_data.m_long.longStorage;\n    else\n      elems = v10[526].m_data.m_short.shortStorage.__elems_;\n    v6 = atof(elems);\n  }\n  a1->m_minForce = v6;\n  if ( !begin[527] )\n  {\n    a1->m_maxForce = 0.0;\n    if ( begin[528] )\n      goto LABEL_20;\nLABEL_15:\n    a1->m_relativeForce = 0;\n    v14 = 0;\n    if ( begin[529] )\n      goto LABEL_24;\nLABEL_16:\n    a1->m_forceRange = 0;\n    if ( !begin[530] )\n      goto LABEL_32;\n    goto LABEL_28;\n  }\n  v12 = a2->__begin_;\n  if ( (a2->__begin_[527].m_data.m_short.sizex2 & 1) != 0 )\n    v13 = v12[527].m_data.m_long.longStorage;\n  else\n    v13 = v12[527].m_data.m_short.shortStorage.__elems_;\n  v15 = atof(v13);\n  a1->m_maxForce = v15;\n  if ( !begin[528] )\n    goto LABEL_15;\nLABEL_20:\n  v16 = a2->__begin_;\n  if ( (a2->__begin_[528].m_data.m_short.sizex2 & 1) != 0 )\n    v17 = v16[528].m_data.m_long.longStorage;\n  else\n    v17 = v16[528].m_data.m_short.shortStorage.__elems_;\n  a1->m_relativeForce = atoi(v17) != 0;\n  v14 = 0;\n  if ( !begin[529] )\n    goto LABEL_16;\nLABEL_24:\n  v18 = a2->__begin_;\n  if ( (a2->__begin_[529].m_data.m_short.sizex2 & 1) != 0 )\n    v19 = v18[529].m_data.m_long.longStorage;\n  else\n    v19 = v18[529].m_data.m_short.shortStorage.__elems_;\n  a1->m_forceRange = atoi(v19) != 0;\n  if ( begin[530] )\n  {\nLABEL_28:\n    v20 = a2->__begin_;\n    if ( (a2->__begin_[530].m_data.m_short.sizex2 & 1) != 0 )\n      v21 = v20[530].m_data.m_long.longStorage;\n    else\n      v21 = v20[530].m_data.m_short.shortStorage.__elems_;\n    v14 = atoi(v21);\n  }\nLABEL_32:\n  a1->m_forceID = v14;\n}", "assembly": "; \n; ForceBlockGameObject::customObjectSetup from 0x1001ecac0 to 0x1001ecc88 (456 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008d5878\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    rbp                                                            ; +0x0, 0x1001ecac0\nmov     rbp, rsp                                                       ; +0x1, 0x1001ecac1\npush    r15                                                            ; +0x4, 0x1001ecac4\npush    r14                                                            ; +0x6, 0x1001ecac6\npush    r12                                                            ; +0x8, 0x1001ecac8\npush    rbx                                                            ; +0xa, 0x1001ecaca\nmov     r15, rdx                                                       ; +0xb, 0x1001ecacb\nmov     r14, rsi                                                       ; +0xe, 0x1001ecace\nmov     rbx, rdi                                                       ; +0x11, 0x1001ecad1\ncall    EffectGameObject__customObjectSetup                            ; +0x14, 0x1001ecad4\nmov     r12, [r15]                                                     ; +0x19, 0x1001ecad9\nxorps   xmm1, xmm1                                                     ; +0x1c, 0x1001ecadc\ncmp     qword ptr [r12+4A8h], 0                                        ; +0x1f, 0x1001ecadf\nxorps   xmm0, xmm0                                                     ; +0x28, 0x1001ecae8\njz      short loc_1001ECB15                                            ; +0x2b, 0x1001ecaeb\nmov     rdi, [r14]                                                     ; +0x2d, 0x1001ecaed\ntest    byte ptr [rdi+0DF8h], 1                                        ; +0x30, 0x1001ecaf0\njnz     short loc_1001ECB02                                            ; +0x37, 0x1001ecaf7\nadd     rdi, 0DF9h                                                     ; +0x39, 0x1001ecaf9\njmp     short loc_1001ECB09                                            ; +0x40, 0x1001ecb00\nmov     rdi, [rdi+0E08h]; char *                                       ; +0x42, 0x1001ecb02\ncall    _atof                                                          ; +0x49, 0x1001ecb09\ncvtsd2ss xmm0, xmm0                                                    ; +0x4e, 0x1001ecb0e\nxorps   xmm1, xmm1                                                     ; +0x52, 0x1001ecb12\nmovss   dword ptr [rbx+72Ch], xmm0                                     ; +0x55, 0x1001ecb15\ncmp     qword ptr [r12+1070h], 0                                       ; +0x5d, 0x1001ecb1d\njz      short loc_1001ECB50                                            ; +0x66, 0x1001ecb26\nmov     rdi, [r14]                                                     ; +0x68, 0x1001ecb28\ntest    byte ptr [rdi+3150h], 1                                        ; +0x6b, 0x1001ecb2b\njnz     short loc_1001ECB3D                                            ; +0x72, 0x1001ecb32\nadd     rdi, 3151h                                                     ; +0x74, 0x1001ecb34\njmp     short loc_1001ECB44                                            ; +0x7b, 0x1001ecb3b\nmov     rdi, [rdi+3160h]; char *                                       ; +0x7d, 0x1001ecb3d\ncall    _atof                                                          ; +0x84, 0x1001ecb44\nxorps   xmm1, xmm1                                                     ; +0x89, 0x1001ecb49\ncvtsd2ss xmm1, xmm0                                                    ; +0x8c, 0x1001ecb4c\nmovss   dword ptr [rbx+730h], xmm1                                     ; +0x90, 0x1001ecb50\ncmp     qword ptr [r12+1078h], 0                                       ; +0x98, 0x1001ecb58\njz      short loc_1001ECB78                                            ; +0xa1, 0x1001ecb61\nmov     rdi, [r14]                                                     ; +0xa3, 0x1001ecb63\ntest    byte ptr [rdi+3168h], 1                                        ; +0xa6, 0x1001ecb66\njnz     short loc_1001ECBC0                                            ; +0xad, 0x1001ecb6d\nadd     rdi, 3169h                                                     ; +0xaf, 0x1001ecb6f\njmp     short loc_1001ECBC7                                            ; +0xb6, 0x1001ecb76\nxorps   xmm0, xmm0                                                     ; +0xb8, 0x1001ecb78\nmovss   dword ptr [rbx+734h], xmm0                                     ; +0xbb, 0x1001ecb7b\ncmp     qword ptr [r12+1080h], 0                                       ; +0xc3, 0x1001ecb83\njnz     short loc_1001ECBE3                                            ; +0xcc, 0x1001ecb8c\nxor     eax, eax                                                       ; +0xce, 0x1001ecb8e\nmov     [rbx+738h], al                                                 ; +0xd0, 0x1001ecb90\nxor     r15d, r15d                                                     ; +0xd6, 0x1001ecb96\ncmp     qword ptr [r12+1088h], 0                                       ; +0xd9, 0x1001ecb99\njnz     short loc_1001ECC1D                                            ; +0xe2, 0x1001ecba2\nxor     eax, eax                                                       ; +0xe4, 0x1001ecba4\nmov     [rbx+739h], al                                                 ; +0xe6, 0x1001ecba6\ncmp     qword ptr [r12+1090h], 0                                       ; +0xec, 0x1001ecbac\njnz     loc_1001ECC54                                                  ; +0xf5, 0x1001ecbb5\njmp     loc_1001ECC78                                                  ; +0xfb, 0x1001ecbbb\nmov     rdi, [rdi+3178h]; char *                                       ; +0x100, 0x1001ecbc0\ncall    _atof                                                          ; +0x107, 0x1001ecbc7\ncvtsd2ss xmm0, xmm0                                                    ; +0x10c, 0x1001ecbcc\nmovss   dword ptr [rbx+734h], xmm0                                     ; +0x110, 0x1001ecbd0\ncmp     qword ptr [r12+1080h], 0                                       ; +0x118, 0x1001ecbd8\njz      short loc_1001ECB8E                                            ; +0x121, 0x1001ecbe1\nmov     rdi, [r14]                                                     ; +0x123, 0x1001ecbe3\ntest    byte ptr [rdi+3180h], 1                                        ; +0x126, 0x1001ecbe6\njnz     short loc_1001ECBF8                                            ; +0x12d, 0x1001ecbed\nadd     rdi, 3181h                                                     ; +0x12f, 0x1001ecbef\njmp     short loc_1001ECBFF                                            ; +0x136, 0x1001ecbf6\nmov     rdi, [rdi+3190h]; char *                                       ; +0x138, 0x1001ecbf8\ncall    _atoi                                                          ; +0x13f, 0x1001ecbff\ntest    eax, eax                                                       ; +0x144, 0x1001ecc04\nsetnz   al                                                             ; +0x146, 0x1001ecc06\nmov     [rbx+738h], al                                                 ; +0x149, 0x1001ecc09\nxor     r15d, r15d                                                     ; +0x14f, 0x1001ecc0f\ncmp     qword ptr [r12+1088h], 0                                       ; +0x152, 0x1001ecc12\njz      short loc_1001ECBA4                                            ; +0x15b, 0x1001ecc1b\nmov     rdi, [r14]                                                     ; +0x15d, 0x1001ecc1d\ntest    byte ptr [rdi+3198h], 1                                        ; +0x160, 0x1001ecc20\njnz     short loc_1001ECC32                                            ; +0x167, 0x1001ecc27\nadd     rdi, 3199h                                                     ; +0x169, 0x1001ecc29\njmp     short loc_1001ECC39                                            ; +0x170, 0x1001ecc30\nmov     rdi, [rdi+31A8h]; char *                                       ; +0x172, 0x1001ecc32\ncall    _atoi                                                          ; +0x179, 0x1001ecc39\ntest    eax, eax                                                       ; +0x17e, 0x1001ecc3e\nsetnz   al                                                             ; +0x180, 0x1001ecc40\nmov     [rbx+739h], al                                                 ; +0x183, 0x1001ecc43\ncmp     qword ptr [r12+1090h], 0                                       ; +0x189, 0x1001ecc49\njz      short loc_1001ECC78                                            ; +0x192, 0x1001ecc52\nmov     rdi, [r14]                                                     ; +0x194, 0x1001ecc54\ntest    byte ptr [rdi+31B0h], 1                                        ; +0x197, 0x1001ecc57\njnz     short loc_1001ECC69                                            ; +0x19e, 0x1001ecc5e\nadd     rdi, 31B1h                                                     ; +0x1a0, 0x1001ecc60\njmp     short loc_1001ECC70                                            ; +0x1a7, 0x1001ecc67\nmov     rdi, [rdi+31C0h]; char *                                       ; +0x1a9, 0x1001ecc69\ncall    _atoi                                                          ; +0x1b0, 0x1001ecc70\nmov     r15d, eax                                                      ; +0x1b5, 0x1001ecc75\nmov     [rbx+73Ch], r15d                                               ; +0x1b8, 0x1001ecc78\npop     rbx                                                            ; +0x1bf, 0x1001ecc7f\npop     r12                                                            ; +0x1c0, 0x1001ecc80\npop     r14                                                            ; +0x1c2, 0x1001ecc82\npop     r15                                                            ; +0x1c4, 0x1001ecc84\npop     rbp                                                            ; +0x1c6, 0x1001ecc86\nretn                                                                   ; +0x1c7, 0x1001ecc87", "xrefs": ["<???> @ 0x1008d5878"], "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"}