{"type": "func", "start": 4296980608, "end": 4296980955, "name": "AudioLineGuideGameObject::customObjectSetup", "pseudocode": "// \n// AudioLineGuideGameObject::customObjectSetup from 0x1001eb880 to 0x1001eb9db (347 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008d5068\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 AudioLineGuideGameObject::customObjectSetup(\n        AudioLineGuideGameObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  std::__vector_base<void *>::pointer begin; // r12\n  int v6; // r15d\n  int v7; // eax\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  float v14; // xmm0_4\n  std::__vector_base<std::string>::pointer v15; // rdi\n  const char *v16; // rdi\n  std::__vector_base<std::string>::pointer v17; // rdi\n  const char *v18; // rdi\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  begin = a3->__begin_;\n  v6 = 0;\n  v7 = 0;\n  if ( begin[498] )\n  {\n    v8 = a2->__begin_;\n    if ( (a2->__begin_[498].m_data.m_short.sizex2 & 1) != 0 )\n      longStorage = v8[498].m_data.m_long.longStorage;\n    else\n      longStorage = v8[498].m_data.m_short.shortStorage.__elems_;\n    v7 = atoi(longStorage);\n  }\n  a1->m_beatsPerMinute = v7;\n  if ( begin[501] )\n  {\n    v10 = a2->__begin_;\n    if ( (a2->__begin_[501].m_data.m_short.sizex2 & 1) != 0 )\n      elems = v10[501].m_data.m_long.longStorage;\n    else\n      elems = v10[501].m_data.m_short.shortStorage.__elems_;\n    v6 = atoi(elems);\n  }\n  a1->m_beatsPerBar = v6;\n  if ( begin[499] )\n  {\n    v12 = a2->__begin_;\n    if ( (a2->__begin_[499].m_data.m_short.sizex2 & 1) != 0 )\n      v13 = v12[499].m_data.m_long.longStorage;\n    else\n      v13 = v12[499].m_data.m_short.shortStorage.__elems_;\n    a1->m_speed = atoi(v13);\n    if ( begin[500] )\n    {\nLABEL_19:\n      v15 = a2->__begin_;\n      if ( (a2->__begin_[500].m_data.m_short.sizex2 & 1) != 0 )\n        v16 = v15[500].m_data.m_long.longStorage;\n      else\n        v16 = v15[500].m_data.m_short.shortStorage.__elems_;\n      a1->m_disabled = atoi(v16) != 0;\n      if ( begin[10] )\n        goto LABEL_23;\nLABEL_16:\n      v14 = 0.0;\n      goto LABEL_27;\n    }\n  }\n  else\n  {\n    a1->m_speed = Normal;\n    if ( begin[500] )\n      goto LABEL_19;\n  }\n  a1->m_disabled = 0;\n  if ( !begin[10] )\n    goto LABEL_16;\nLABEL_23:\n  v17 = a2->__begin_;\n  if ( (a2->__begin_[10].m_data.m_short.sizex2 & 1) != 0 )\n    v18 = v17[10].m_data.m_long.longStorage;\n  else\n    v18 = v17[10].m_data.m_short.shortStorage.__elems_;\n  v14 = atof(v18);\nLABEL_27:\n  a1->m_duration = v14;\n}", "assembly": "; \n; AudioLineGuideGameObject::customObjectSetup from 0x1001eb880 to 0x1001eb9db (347 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008d5068\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, 0x1001eb880\nmov     rbp, rsp                                                       ; +0x1, 0x1001eb881\npush    r15                                                            ; +0x4, 0x1001eb884\npush    r14                                                            ; +0x6, 0x1001eb886\npush    r12                                                            ; +0x8, 0x1001eb888\npush    rbx                                                            ; +0xa, 0x1001eb88a\nmov     r15, rdx                                                       ; +0xb, 0x1001eb88b\nmov     r14, rsi                                                       ; +0xe, 0x1001eb88e\nmov     rbx, rdi                                                       ; +0x11, 0x1001eb891\ncall    EffectGameObject__customObjectSetup                            ; +0x14, 0x1001eb894\nmov     r12, [r15]                                                     ; +0x19, 0x1001eb899\nxor     r15d, r15d                                                     ; +0x1c, 0x1001eb89c\ncmp     qword ptr [r12+0F90h], 0                                       ; +0x1f, 0x1001eb89f\nmov     eax, 0                                                         ; +0x28, 0x1001eb8a8\njz      short loc_1001EB8D0                                            ; +0x2d, 0x1001eb8ad\nmov     rdi, [r14]                                                     ; +0x2f, 0x1001eb8af\ntest    byte ptr [rdi+2EB0h], 1                                        ; +0x32, 0x1001eb8b2\njnz     short loc_1001EB8C4                                            ; +0x39, 0x1001eb8b9\nadd     rdi, 2EB1h                                                     ; +0x3b, 0x1001eb8bb\njmp     short loc_1001EB8CB                                            ; +0x42, 0x1001eb8c2\nmov     rdi, [rdi+2EC0h]; char *                                       ; +0x44, 0x1001eb8c4\ncall    _atoi                                                          ; +0x4b, 0x1001eb8cb\nmov     [rbx+72Ch], eax                                                ; +0x50, 0x1001eb8d0\ncmp     qword ptr [r12+0FA8h], 0                                       ; +0x56, 0x1001eb8d6\njz      short loc_1001EB905                                            ; +0x5f, 0x1001eb8df\nmov     rdi, [r14]                                                     ; +0x61, 0x1001eb8e1\ntest    byte ptr [rdi+2EF8h], 1                                        ; +0x64, 0x1001eb8e4\njnz     short loc_1001EB8F6                                            ; +0x6b, 0x1001eb8eb\nadd     rdi, 2EF9h                                                     ; +0x6d, 0x1001eb8ed\njmp     short loc_1001EB8FD                                            ; +0x74, 0x1001eb8f4\nmov     rdi, [rdi+2F08h]; char *                                       ; +0x76, 0x1001eb8f6\ncall    _atoi                                                          ; +0x7d, 0x1001eb8fd\nmov     r15d, eax                                                      ; +0x82, 0x1001eb902\nmov     [rbx+730h], r15d                                               ; +0x85, 0x1001eb905\ncmp     qword ptr [r12+0F98h], 0                                       ; +0x8c, 0x1001eb90c\njz      short loc_1001EB92C                                            ; +0x95, 0x1001eb915\nmov     rdi, [r14]                                                     ; +0x97, 0x1001eb917\ntest    byte ptr [rdi+2EC8h], 1                                        ; +0x9a, 0x1001eb91a\njnz     short loc_1001EB954                                            ; +0xa1, 0x1001eb921\nadd     rdi, 2EC9h                                                     ; +0xa3, 0x1001eb923\njmp     short loc_1001EB95B                                            ; +0xaa, 0x1001eb92a\nxor     eax, eax                                                       ; +0xac, 0x1001eb92c\nmov     [rbx+734h], eax                                                ; +0xae, 0x1001eb92e\ncmp     qword ptr [r12+0FA0h], 0                                       ; +0xb4, 0x1001eb934\njnz     short loc_1001EB971                                            ; +0xbd, 0x1001eb93d\nxor     eax, eax                                                       ; +0xbf, 0x1001eb93f\nmov     [rbx+738h], al                                                 ; +0xc1, 0x1001eb941\ncmp     qword ptr [r12+50h], 0                                         ; +0xc7, 0x1001eb947\njnz     short loc_1001EB9A5                                            ; +0xcd, 0x1001eb94d\nxorps   xmm0, xmm0                                                     ; +0xcf, 0x1001eb94f\njmp     short loc_1001EB9CA                                            ; +0xd2, 0x1001eb952\nmov     rdi, [rdi+2ED8h]; char *                                       ; +0xd4, 0x1001eb954\ncall    _atoi                                                          ; +0xdb, 0x1001eb95b\nmov     [rbx+734h], eax                                                ; +0xe0, 0x1001eb960\ncmp     qword ptr [r12+0FA0h], 0                                       ; +0xe6, 0x1001eb966\njz      short loc_1001EB93F                                            ; +0xef, 0x1001eb96f\nmov     rdi, [r14]                                                     ; +0xf1, 0x1001eb971\ntest    byte ptr [rdi+2EE0h], 1                                        ; +0xf4, 0x1001eb974\njnz     short loc_1001EB986                                            ; +0xfb, 0x1001eb97b\nadd     rdi, 2EE1h                                                     ; +0xfd, 0x1001eb97d\njmp     short loc_1001EB98D                                            ; +0x104, 0x1001eb984\nmov     rdi, [rdi+2EF0h]; char *                                       ; +0x106, 0x1001eb986\ncall    _atoi                                                          ; +0x10d, 0x1001eb98d\ntest    eax, eax                                                       ; +0x112, 0x1001eb992\nsetnz   al                                                             ; +0x114, 0x1001eb994\nmov     [rbx+738h], al                                                 ; +0x117, 0x1001eb997\ncmp     qword ptr [r12+50h], 0                                         ; +0x11d, 0x1001eb99d\njz      short loc_1001EB94F                                            ; +0x123, 0x1001eb9a3\nmov     rdi, [r14]                                                     ; +0x125, 0x1001eb9a5\ntest    byte ptr [rdi+0F0h], 1                                         ; +0x128, 0x1001eb9a8\njnz     short loc_1001EB9BA                                            ; +0x12f, 0x1001eb9af\nadd     rdi, 0F1h                                                      ; +0x131, 0x1001eb9b1\njmp     short loc_1001EB9C1                                            ; +0x138, 0x1001eb9b8\nmov     rdi, [rdi+100h]; char *                                        ; +0x13a, 0x1001eb9ba\ncall    _atof                                                          ; +0x141, 0x1001eb9c1\ncvtsd2ss xmm0, xmm0                                                    ; +0x146, 0x1001eb9c6\nmovss   dword ptr [rbx+5ACh], xmm0                                     ; +0x14a, 0x1001eb9ca\npop     rbx                                                            ; +0x152, 0x1001eb9d2\npop     r12                                                            ; +0x153, 0x1001eb9d3\npop     r14                                                            ; +0x155, 0x1001eb9d5\npop     r15                                                            ; +0x157, 0x1001eb9d7\npop     rbp                                                            ; +0x159, 0x1001eb9d9\nretn                                                                   ; +0x15a, 0x1001eb9da", "xrefs": ["<???> @ 0x1008d5068"], "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"}