{"type": "func", "start": 5373696016, "end": 5373696330, "name": "AudioLineGuideGameObject::customObjectSetup", "pseudocode": "// \n// AudioLineGuideGameObject::customObjectSetup from 0x1404c1810 to 0x1404c194a (314 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140615dd8\n// > <???> @ 0x1406dcf20\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 AudioLineGuideGameObject::customObjectSetup(\n        AudioLineGuideGameObject *a1,\n        std::vector<std::string> *a2,\n        std::vector<void *> *a3)\n{\n  int v6; // edi\n  int v7; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer m_bigStorage; // rcx\n  int v9; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v10; // rcx\n  Speed v11; // eax\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v12; // rcx\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v13; // rcx\n  float v14; // xmm1_4\n  std::_Vector_val<std::_Simple_types<std::string>>::pointer v15; // rcx\n\n  EffectGameObject::customObjectSetup(a1, a2, a3);\n  v6 = 0;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 498) )\n  {\n    m_bigStorage = a2->_Mypair._Myval2._Myfirst + 498;\n    if ( a2->_Mypair._Myval2._Myfirst[498].m_data.m_capacity > 0xF )\n      m_bigStorage = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)m_bigStorage->m_data.m_bigStorage;\n    v7 = atoi(m_bigStorage->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v7 = 0;\n  }\n  a1->m_beatsPerMinute = v7;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 501) )\n  {\n    v10 = a2->_Mypair._Myval2._Myfirst + 501;\n    if ( a2->_Mypair._Myval2._Myfirst[501].m_data.m_capacity > 0xF )\n      v10 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v10->m_data.m_bigStorage;\n    v9 = atoi(v10->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v9 = 0;\n  }\n  a1->m_beatsPerBar = v9;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 499) )\n  {\n    v12 = a2->_Mypair._Myval2._Myfirst + 499;\n    if ( a2->_Mypair._Myval2._Myfirst[499].m_data.m_capacity > 0xF )\n      v12 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v12->m_data.m_bigStorage;\n    v11 = atoi(v12->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v11 = Normal;\n  }\n  a1->m_speed = v11;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 500) )\n  {\n    v13 = a2->_Mypair._Myval2._Myfirst + 500;\n    if ( a2->_Mypair._Myval2._Myfirst[500].m_data.m_capacity > 0xF )\n      v13 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v13->m_data.m_bigStorage;\n    v6 = atoi(v13->m_data.m_smallStorage._Elems);\n  }\n  a1->m_disabled = v6 != 0;\n  if ( *((_QWORD *)a3->_Mypair._Myval2._Myfirst + 10) )\n  {\n    v15 = a2->_Mypair._Myval2._Myfirst + 10;\n    if ( a2->_Mypair._Myval2._Myfirst[10].m_data.m_capacity > 0xF )\n      v15 = (std::_Vector_val<std::_Simple_types<std::string>>::pointer)v15->m_data.m_bigStorage;\n    v14 = atof(v15->m_data.m_smallStorage._Elems);\n  }\n  else\n  {\n    v14 = 0.0;\n  }\n  a1->m_duration = v14;\n}", "assembly": "; \n; AudioLineGuideGameObject::customObjectSetup from 0x1404c1810 to 0x1404c194a (314 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140615dd8\n; > <???> @ 0x1406dcf20\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404c1810\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1404c1815\nmov     [rsp+arg_10], rdi                                              ; +0xa, 0x1404c181a\npush    r14                                                            ; +0xf, 0x1404c181f\nsub     rsp, 20h                                                       ; +0x11, 0x1404c1821\nmov     r14, r8                                                        ; +0x15, 0x1404c1825\nmov     rsi, rdx                                                       ; +0x18, 0x1404c1828\nmov     rbx, rcx                                                       ; +0x1b, 0x1404c182b\ncall    EffectGameObject__customObjectSetup                            ; +0x1e, 0x1404c182e\nmov     rax, [r14]                                                     ; +0x23, 0x1404c1833\nxor     edi, edi                                                       ; +0x26, 0x1404c1836\ncmp     [rax+0F90h], rdi                                               ; +0x28, 0x1404c1838\njnz     short loc_1404C1845                                            ; +0x2f, 0x1404c183f\nmov     eax, edi                                                       ; +0x31, 0x1404c1841\njmp     short loc_1404C185F                                            ; +0x33, 0x1404c1843\nmov     rcx, [rsi]                                                     ; +0x35, 0x1404c1845\nadd     rcx, 3E40h                                                     ; +0x38, 0x1404c1848\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x3f, 0x1404c184f\njbe     short loc_1404C1859                                            ; +0x44, 0x1404c1854\nmov     rcx, [rcx]; String                                             ; +0x46, 0x1404c1856\ncall    cs:atoi                                                        ; +0x49, 0x1404c1859\nmov     [rbx+740h], eax                                                ; +0x4f, 0x1404c185f\nmov     rax, [r14]                                                     ; +0x55, 0x1404c1865\ncmp     [rax+0FA8h], rdi                                               ; +0x58, 0x1404c1868\njnz     short loc_1404C1875                                            ; +0x5f, 0x1404c186f\nmov     eax, edi                                                       ; +0x61, 0x1404c1871\njmp     short loc_1404C188F                                            ; +0x63, 0x1404c1873\nmov     rcx, [rsi]                                                     ; +0x65, 0x1404c1875\nadd     rcx, 3EA0h                                                     ; +0x68, 0x1404c1878\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x6f, 0x1404c187f\njbe     short loc_1404C1889                                            ; +0x74, 0x1404c1884\nmov     rcx, [rcx]; String                                             ; +0x76, 0x1404c1886\ncall    cs:atoi                                                        ; +0x79, 0x1404c1889\nmov     [rbx+744h], eax                                                ; +0x7f, 0x1404c188f\nmov     rax, [r14]                                                     ; +0x85, 0x1404c1895\ncmp     [rax+0F98h], rdi                                               ; +0x88, 0x1404c1898\njnz     short loc_1404C18A5                                            ; +0x8f, 0x1404c189f\nmov     eax, edi                                                       ; +0x91, 0x1404c18a1\njmp     short loc_1404C18BF                                            ; +0x93, 0x1404c18a3\nmov     rcx, [rsi]                                                     ; +0x95, 0x1404c18a5\nadd     rcx, 3E60h                                                     ; +0x98, 0x1404c18a8\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x9f, 0x1404c18af\njbe     short loc_1404C18B9                                            ; +0xa4, 0x1404c18b4\nmov     rcx, [rcx]; String                                             ; +0xa6, 0x1404c18b6\ncall    cs:atoi                                                        ; +0xa9, 0x1404c18b9\nmov     [rbx+748h], eax                                                ; +0xaf, 0x1404c18bf\nmov     rax, [r14]                                                     ; +0xb5, 0x1404c18c5\ncmp     [rax+0FA0h], rdi                                               ; +0xb8, 0x1404c18c8\njz      short loc_1404C18ED                                            ; +0xbf, 0x1404c18cf\nmov     rcx, [rsi]                                                     ; +0xc1, 0x1404c18d1\nadd     rcx, 3E80h                                                     ; +0xc4, 0x1404c18d4\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xcb, 0x1404c18db\njbe     short loc_1404C18E5                                            ; +0xd0, 0x1404c18e0\nmov     rcx, [rcx]; String                                             ; +0xd2, 0x1404c18e2\ncall    cs:atoi                                                        ; +0xd5, 0x1404c18e5\nmov     edi, eax                                                       ; +0xdb, 0x1404c18eb\ntest    edi, edi                                                       ; +0xdd, 0x1404c18ed\nsetnz   al                                                             ; +0xdf, 0x1404c18ef\nmov     [rbx+74Ch], al                                                 ; +0xe2, 0x1404c18f2\nmov     rax, [r14]                                                     ; +0xe8, 0x1404c18f8\ncmp     qword ptr [rax+50h], 0                                         ; +0xeb, 0x1404c18fb\njnz     short loc_1404C190B                                            ; +0xf0, 0x1404c1900\nxorps   xmm0, xmm0                                                     ; +0xf2, 0x1404c1902\ncvtpd2ps xmm1, xmm0                                                    ; +0xf5, 0x1404c1905\njmp     short loc_1404C192C                                            ; +0xf9, 0x1404c1909\nmov     rcx, [rsi]                                                     ; +0xfb, 0x1404c190b\nadd     rcx, 140h                                                      ; +0xfe, 0x1404c190e\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0x105, 0x1404c1915\njbe     short loc_1404C191F                                            ; +0x10a, 0x1404c191a\nmov     rcx, [rcx]; String                                             ; +0x10c, 0x1404c191c\ncall    cs:atof                                                        ; +0x10f, 0x1404c191f\nxorps   xmm1, xmm1                                                     ; +0x115, 0x1404c1925\ncvtsd2ss xmm1, xmm0                                                    ; +0x118, 0x1404c1928\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x11c, 0x1404c192c\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x121, 0x1404c1931\nmovss   dword ptr [rbx+5BCh], xmm1                                     ; +0x126, 0x1404c1936\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x12e, 0x1404c193e\nadd     rsp, 20h                                                       ; +0x133, 0x1404c1943\npop     r14                                                            ; +0x137, 0x1404c1947\nretn                                                                   ; +0x139, 0x1404c1949", "xrefs": ["<???> @ 0x140615dd8", "<???> @ 0x1406dcf20"], "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"}