{"type": "func", "start": 4296730256, "end": 4296730668, "name": "AdvancedFollowEditObject::customObjectSetup", "pseudocode": "// \n// AdvancedFollowEditObject::customObjectSetup from 0x1001ae690 to 0x1001ae82c (412 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008ccea8\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 AdvancedFollowEditObject::customObjectSetup(\n        AdvancedFollowEditObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  std::__vector_base<void *>::pointer begin; // r15\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  float v12; // xmm1_4\n  float v13; // xmm0_4\n  std::__vector_base<std::string>::pointer v14; // rdi\n  const char *v15; // rdi\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  bool v20; // al\n  std::__vector_base<std::string>::pointer v21; // rdi\n  const char *v22; // rdi\n\n  AdvancedFollowTriggerObject::customObjectSetup(a1, a2, a3);\n  begin = a3->__begin_;\n  v6 = 0.0;\n  v7 = 0.0;\n  if ( begin[566] )\n  {\n    v8 = a2->__begin_;\n    if ( (a2->__begin_[566].m_data.m_short.sizex2 & 1) != 0 )\n      longStorage = v8[566].m_data.m_long.longStorage;\n    else\n      longStorage = v8[566].m_data.m_short.shortStorage.__elems_;\n    v7 = atof(longStorage);\n    v6 = 0.0;\n  }\n  a1->m_modX = v7;\n  if ( begin[567] )\n  {\n    v10 = a2->__begin_;\n    if ( (a2->__begin_[567].m_data.m_short.sizex2 & 1) != 0 )\n      elems = v10[567].m_data.m_long.longStorage;\n    else\n      elems = v10[567].m_data.m_short.shortStorage.__elems_;\n    v6 = atof(elems);\n  }\n  a1->m_modXVariance = v6;\n  v12 = 0.0;\n  v13 = 0.0;\n  if ( begin[568] )\n  {\n    v14 = a2->__begin_;\n    if ( (a2->__begin_[568].m_data.m_short.sizex2 & 1) != 0 )\n      v15 = v14[568].m_data.m_long.longStorage;\n    else\n      v15 = v14[568].m_data.m_short.shortStorage.__elems_;\n    v13 = atof(v15);\n    v12 = 0.0;\n  }\n  a1->m_modY = v13;\n  if ( begin[569] )\n  {\n    v16 = a2->__begin_;\n    if ( (a2->__begin_[569].m_data.m_short.sizex2 & 1) != 0 )\n      v17 = v16[569].m_data.m_long.longStorage;\n    else\n      v17 = v16[569].m_data.m_short.shortStorage.__elems_;\n    v12 = atof(v17);\n  }\n  a1->m_modYVariance = v12;\n  if ( begin[570] )\n  {\n    v18 = a2->__begin_;\n    if ( (a2->__begin_[570].m_data.m_short.sizex2 & 1) != 0 )\n      v19 = v18[570].m_data.m_long.longStorage;\n    else\n      v19 = v18[570].m_data.m_short.shortStorage.__elems_;\n    a1->m_redirectDirection = atoi(v19) != 0;\n    if ( begin[535] )\n      goto LABEL_28;\nLABEL_25:\n    v20 = 0;\n    goto LABEL_32;\n  }\n  a1->m_redirectDirection = 0;\n  if ( !begin[535] )\n    goto LABEL_25;\nLABEL_28:\n  v21 = a2->__begin_;\n  if ( (a2->__begin_[535].m_data.m_short.sizex2 & 1) != 0 )\n    v22 = v21[535].m_data.m_long.longStorage;\n  else\n    v22 = v21[535].m_data.m_short.shortStorage.__elems_;\n  v20 = atoi(v22) != 0;\nLABEL_32:\n  a1->m_targetControlID = v20;\n}", "assembly": "; \n; AdvancedFollowEditObject::customObjectSetup from 0x1001ae690 to 0x1001ae82c (412 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008ccea8\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, 0x1001ae690\nmov     rbp, rsp                                                       ; +0x1, 0x1001ae691\npush    r15                                                            ; +0x4, 0x1001ae694\npush    r14                                                            ; +0x6, 0x1001ae696\npush    rbx                                                            ; +0x8, 0x1001ae698\npush    rax                                                            ; +0x9, 0x1001ae699\nmov     r15, rdx                                                       ; +0xa, 0x1001ae69a\nmov     r14, rsi                                                       ; +0xd, 0x1001ae69d\nmov     rbx, rdi                                                       ; +0x10, 0x1001ae6a0\ncall    AdvancedFollowTriggerObject__customObjectSetup                 ; +0x13, 0x1001ae6a3\nmov     r15, [r15]                                                     ; +0x18, 0x1001ae6a8\nxorps   xmm1, xmm1                                                     ; +0x1b, 0x1001ae6ab\ncmp     qword ptr [r15+11B0h], 0                                       ; +0x1e, 0x1001ae6ae\nxorps   xmm0, xmm0                                                     ; +0x26, 0x1001ae6b6\njz      short loc_1001AE6E3                                            ; +0x29, 0x1001ae6b9\nmov     rdi, [r14]                                                     ; +0x2b, 0x1001ae6bb\ntest    byte ptr [rdi+3510h], 1                                        ; +0x2e, 0x1001ae6be\njnz     short loc_1001AE6D0                                            ; +0x35, 0x1001ae6c5\nadd     rdi, 3511h                                                     ; +0x37, 0x1001ae6c7\njmp     short loc_1001AE6D7                                            ; +0x3e, 0x1001ae6ce\nmov     rdi, [rdi+3520h]; char *                                       ; +0x40, 0x1001ae6d0\ncall    _atof                                                          ; +0x47, 0x1001ae6d7\ncvtsd2ss xmm0, xmm0                                                    ; +0x4c, 0x1001ae6dc\nxorps   xmm1, xmm1                                                     ; +0x50, 0x1001ae6e0\nmovss   dword ptr [rbx+820h], xmm0                                     ; +0x53, 0x1001ae6e3\ncmp     qword ptr [r15+11B8h], 0                                       ; +0x5b, 0x1001ae6eb\njz      short loc_1001AE71D                                            ; +0x63, 0x1001ae6f3\nmov     rdi, [r14]                                                     ; +0x65, 0x1001ae6f5\ntest    byte ptr [rdi+3528h], 1                                        ; +0x68, 0x1001ae6f8\njnz     short loc_1001AE70A                                            ; +0x6f, 0x1001ae6ff\nadd     rdi, 3529h                                                     ; +0x71, 0x1001ae701\njmp     short loc_1001AE711                                            ; +0x78, 0x1001ae708\nmov     rdi, [rdi+3538h]; char *                                       ; +0x7a, 0x1001ae70a\ncall    _atof                                                          ; +0x81, 0x1001ae711\nxorps   xmm1, xmm1                                                     ; +0x86, 0x1001ae716\ncvtsd2ss xmm1, xmm0                                                    ; +0x89, 0x1001ae719\nmovss   dword ptr [rbx+824h], xmm1                                     ; +0x8d, 0x1001ae71d\nxorps   xmm1, xmm1                                                     ; +0x95, 0x1001ae725\ncmp     qword ptr [r15+11C0h], 0                                       ; +0x98, 0x1001ae728\nxorps   xmm0, xmm0                                                     ; +0xa0, 0x1001ae730\njz      short loc_1001AE75D                                            ; +0xa3, 0x1001ae733\nmov     rdi, [r14]                                                     ; +0xa5, 0x1001ae735\ntest    byte ptr [rdi+3540h], 1                                        ; +0xa8, 0x1001ae738\njnz     short loc_1001AE74A                                            ; +0xaf, 0x1001ae73f\nadd     rdi, 3541h                                                     ; +0xb1, 0x1001ae741\njmp     short loc_1001AE751                                            ; +0xb8, 0x1001ae748\nmov     rdi, [rdi+3550h]; char *                                       ; +0xba, 0x1001ae74a\ncall    _atof                                                          ; +0xc1, 0x1001ae751\ncvtsd2ss xmm0, xmm0                                                    ; +0xc6, 0x1001ae756\nxorps   xmm1, xmm1                                                     ; +0xca, 0x1001ae75a\nmovss   dword ptr [rbx+828h], xmm0                                     ; +0xcd, 0x1001ae75d\ncmp     qword ptr [r15+11C8h], 0                                       ; +0xd5, 0x1001ae765\njz      short loc_1001AE797                                            ; +0xdd, 0x1001ae76d\nmov     rdi, [r14]                                                     ; +0xdf, 0x1001ae76f\ntest    byte ptr [rdi+3558h], 1                                        ; +0xe2, 0x1001ae772\njnz     short loc_1001AE784                                            ; +0xe9, 0x1001ae779\nadd     rdi, 3559h                                                     ; +0xeb, 0x1001ae77b\njmp     short loc_1001AE78B                                            ; +0xf2, 0x1001ae782\nmov     rdi, [rdi+3568h]; char *                                       ; +0xf4, 0x1001ae784\ncall    _atof                                                          ; +0xfb, 0x1001ae78b\nxorps   xmm1, xmm1                                                     ; +0x100, 0x1001ae790\ncvtsd2ss xmm1, xmm0                                                    ; +0x103, 0x1001ae793\nmovss   dword ptr [rbx+82Ch], xmm1                                     ; +0x107, 0x1001ae797\ncmp     qword ptr [r15+11D0h], 0                                       ; +0x10f, 0x1001ae79f\njz      short loc_1001AE7BE                                            ; +0x117, 0x1001ae7a7\nmov     rdi, [r14]                                                     ; +0x119, 0x1001ae7a9\ntest    byte ptr [rdi+3570h], 1                                        ; +0x11c, 0x1001ae7ac\njnz     short loc_1001AE7D4                                            ; +0x123, 0x1001ae7b3\nadd     rdi, 3571h                                                     ; +0x125, 0x1001ae7b5\njmp     short loc_1001AE7DB                                            ; +0x12c, 0x1001ae7bc\nxor     eax, eax                                                       ; +0x12e, 0x1001ae7be\nmov     [rbx+830h], al                                                 ; +0x130, 0x1001ae7c0\ncmp     qword ptr [r15+10B8h], 0                                       ; +0x136, 0x1001ae7c6\njnz     short loc_1001AE7F5                                            ; +0x13e, 0x1001ae7ce\nxor     eax, eax                                                       ; +0x140, 0x1001ae7d0\njmp     short loc_1001AE81B                                            ; +0x142, 0x1001ae7d2\nmov     rdi, [rdi+3580h]; char *                                       ; +0x144, 0x1001ae7d4\ncall    _atoi                                                          ; +0x14b, 0x1001ae7db\ntest    eax, eax                                                       ; +0x150, 0x1001ae7e0\nsetnz   al                                                             ; +0x152, 0x1001ae7e2\nmov     [rbx+830h], al                                                 ; +0x155, 0x1001ae7e5\ncmp     qword ptr [r15+10B8h], 0                                       ; +0x15b, 0x1001ae7eb\njz      short loc_1001AE7D0                                            ; +0x163, 0x1001ae7f3\nmov     rdi, [r14]                                                     ; +0x165, 0x1001ae7f5\ntest    byte ptr [rdi+3228h], 1                                        ; +0x168, 0x1001ae7f8\njnz     short loc_1001AE80A                                            ; +0x16f, 0x1001ae7ff\nadd     rdi, 3229h                                                     ; +0x171, 0x1001ae801\njmp     short loc_1001AE811                                            ; +0x178, 0x1001ae808\nmov     rdi, [rdi+3238h]; char *                                       ; +0x17a, 0x1001ae80a\ncall    _atoi                                                          ; +0x181, 0x1001ae811\ntest    eax, eax                                                       ; +0x186, 0x1001ae816\nsetnz   al                                                             ; +0x188, 0x1001ae818\nmov     [rbx+68Ch], al                                                 ; +0x18b, 0x1001ae81b\nadd     rsp, 8                                                         ; +0x191, 0x1001ae821\npop     rbx                                                            ; +0x195, 0x1001ae825\npop     r14                                                            ; +0x196, 0x1001ae826\npop     r15                                                            ; +0x198, 0x1001ae828\npop     rbp                                                            ; +0x19a, 0x1001ae82a\nretn                                                                   ; +0x19b, 0x1001ae82b", "xrefs": ["<???> @ 0x1008ccea8"], "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"}