{"type": "func", "start": 5372135216, "end": 5372135600, "name": "SongInfoObject::create_1", "pseudocode": "// \n// SongInfoObject::create_1 from 0x140344730 to 0x1403448b0 (384 bytes)\n// \n// 8 xrefs:\n// > CustomSongLayer::init @ 0x1400c37bc\n// > CustomSongLayer::onSearch @ 0x1400c3c7d\n// > CustomSongLayer::dropDownLayerWillClose @ 0x1400c4246\n// > CustomSongLayer::musicBrowserClosed @ 0x1400c4316\n// > SongSelectNode::onSongMode @ 0x1400c79d6\n// > GJGameLevel::getSongName @ 0x14016d00b\n// > LevelInfoLayer::init @ 0x1402f92db\n// > <???> @ 0x1406d5894\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\n// Hidden C++ exception states: #wind=6\nSongInfoObject *SongInfoObject::create_1(int a1)\n{\n  MusicDownloadManager *v2; // rax\n  SongInfoObject *result; // rax\n  char v4[8]; // [rsp+70h] [rbp-90h] BYREF\n  __int64 v5; // [rsp+78h] [rbp-88h]\n  __int64 v6; // [rsp+80h] [rbp-80h]\n  __int64 v7; // [rsp+88h] [rbp-78h]\n  __int128 v8; // [rsp+90h] [rbp-70h] BYREF\n  __int64 v9; // [rsp+A0h] [rbp-60h]\n  __int64 v10; // [rsp+A8h] [rbp-58h]\n  __int128 v11; // [rsp+B0h] [rbp-50h] BYREF\n  __int64 v12; // [rsp+C0h] [rbp-40h]\n  __int64 v13; // [rsp+C8h] [rbp-38h]\n  __int128 v14; // [rsp+D0h] [rbp-30h] BYREF\n  __int64 v15; // [rsp+E0h] [rbp-20h]\n  __int64 v16; // [rsp+E8h] [rbp-18h]\n  __int128 v17; // [rsp+F0h] [rbp-10h] BYREF\n  __int64 v18; // [rsp+100h] [rbp+0h]\n  __int64 v19; // [rsp+108h] [rbp+8h]\n  __int128 v20; // [rsp+110h] [rbp+10h] BYREF\n  __int64 v21; // [rsp+120h] [rbp+20h]\n  __int64 v22; // [rsp+128h] [rbp+28h]\n  __int128 v23; // [rsp+130h] [rbp+30h] BYREF\n  __int64 v24; // [rsp+140h] [rbp+40h]\n  __int64 v25; // [rsp+148h] [rbp+48h]\n\n  v2 = MusicDownloadManager::sharedState();\n  result = MusicDownloadManager::getSongInfoObject(v2, a1);\n  if ( !result )\n  {\n    v8 = 0;\n    v9 = 0;\n    v10 = 15;\n    LOBYTE(v8) = 0;\n    v11 = 0;\n    v12 = 0;\n    v13 = 15;\n    LOBYTE(v11) = 0;\n    v14 = 0;\n    v15 = 0;\n    v16 = 15;\n    LOBYTE(v14) = 0;\n    v17 = 0;\n    v18 = 0;\n    v19 = 15;\n    LOBYTE(v17) = 0;\n    v20 = 0;\n    v21 = 0;\n    v22 = 15;\n    LOBYTE(v20) = 0;\n    v23 = 0;\n    v24 = 0;\n    v25 = 15;\n    LOBYTE(v23) = 0;\n    v5 = 0;\n    v6 = 7;\n    v7 = 15;\n    strcpy(v4, \"Unknown\");\n    result = (SongInfoObject *)SongInfoObject::create(\n                                 a1,\n                                 (unsigned int)v4,\n                                 (unsigned int)&v23,\n                                 0,\n                                 0,\n                                 (__int64)&v20,\n                                 (__int64)&v17,\n                                 (__int64)&v14,\n                                 (__int64)&v11,\n                                 0,\n                                 (__int64)&v8,\n                                 0,\n                                 0,\n                                 -1);\n    result->m_unloaded = 1;\n  }\n  return result;\n}", "assembly": "; \n; SongInfoObject::create_1 from 0x140344730 to 0x1403448b0 (384 bytes)\n; \n; 8 xrefs:\n; > CustomSongLayer::init @ 0x1400c37bc\n; > CustomSongLayer::onSearch @ 0x1400c3c7d\n; > CustomSongLayer::dropDownLayerWillClose @ 0x1400c4246\n; > CustomSongLayer::musicBrowserClosed @ 0x1400c4316\n; > SongSelectNode::onSongMode @ 0x1400c79d6\n; > GJGameLevel::getSongName @ 0x14016d00b\n; > LevelInfoLayer::init @ 0x1402f92db\n; > <???> @ 0x1406d5894\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-8+arg_0], rbx                                             ; +0x0, 0x140344730\npush    rbp                                                            ; +0x5, 0x140344735\nlea     rbp, [rsp-50h]                                                 ; +0x6, 0x140344736\nsub     rsp, 150h                                                      ; +0xb, 0x14034473b\nmov     ebx, ecx                                                       ; +0x12, 0x140344742\ncall    MusicDownloadManager__sharedState                              ; +0x14, 0x140344744\nmov     rcx, rax                                                       ; +0x19, 0x140344749\nmov     edx, ebx                                                       ; +0x1c, 0x14034474c\ncall    MusicDownloadManager__getSongInfoObject                        ; +0x1e, 0x14034474e\ntest    rax, rax                                                       ; +0x23, 0x140344753\njnz     loc_14034489F                                                  ; +0x26, 0x140344756\nlea     rax, [rbp+50h+var_C0]                                          ; +0x2c, 0x14034475c\nmov     [rbp+50h+arg_8], rax                                           ; +0x30, 0x140344760\nlea     rax, [rbp+50h+var_A0]                                          ; +0x34, 0x140344764\nmov     [rbp+50h+arg_8], rax                                           ; +0x38, 0x140344768\nlea     rax, [rbp+50h+var_80]                                          ; +0x3c, 0x14034476c\nmov     [rbp+50h+arg_8], rax                                           ; +0x40, 0x140344770\nlea     rax, [rbp+50h+var_60]                                          ; +0x44, 0x140344774\nmov     [rbp+50h+arg_8], rax                                           ; +0x48, 0x140344778\nlea     rax, [rbp+50h+var_40]                                          ; +0x4c, 0x14034477c\nmov     [rbp+50h+arg_8], rax                                           ; +0x50, 0x140344780\nlea     rax, [rbp+50h+var_20]                                          ; +0x54, 0x140344784\nmov     [rbp+50h+arg_8], rax                                           ; +0x58, 0x140344788\nxorps   xmm0, xmm0                                                     ; +0x5c, 0x14034478c\nmovups  [rbp+50h+var_C0], xmm0                                         ; +0x5f, 0x14034478f\nxor     ecx, ecx                                                       ; +0x63, 0x140344793\nmov     [rbp+50h+var_B0], rcx                                          ; +0x65, 0x140344795\nmov     [rbp+50h+var_A8], 0Fh                                          ; +0x69, 0x140344799\nmov     byte ptr [rbp+50h+var_C0], cl                                  ; +0x71, 0x1403447a1\nmovups  [rbp+50h+var_A0], xmm0                                         ; +0x74, 0x1403447a4\nmov     [rbp+50h+var_90], rcx                                          ; +0x78, 0x1403447a8\nmov     [rbp+50h+var_88], 0Fh                                          ; +0x7c, 0x1403447ac\nmov     byte ptr [rbp+50h+var_A0], cl                                  ; +0x84, 0x1403447b4\nmovups  [rbp+50h+var_80], xmm0                                         ; +0x87, 0x1403447b7\nmov     [rbp+50h+var_70], rcx                                          ; +0x8b, 0x1403447bb\nmov     [rbp+50h+var_68], 0Fh                                          ; +0x8f, 0x1403447bf\nmov     byte ptr [rbp+50h+var_80], cl                                  ; +0x97, 0x1403447c7\nmovups  [rbp+50h+var_60], xmm0                                         ; +0x9a, 0x1403447ca\nmov     [rbp+50h+var_50], rcx                                          ; +0x9e, 0x1403447ce\nmov     [rbp+50h+var_48], 0Fh                                          ; +0xa2, 0x1403447d2\nmov     byte ptr [rbp+50h+var_60], cl                                  ; +0xaa, 0x1403447da\nmovups  [rbp+50h+var_40], xmm0                                         ; +0xad, 0x1403447dd\nmov     [rbp+50h+var_30], rcx                                          ; +0xb1, 0x1403447e1\nmov     [rbp+50h+var_28], 0Fh                                          ; +0xb5, 0x1403447e5\nmov     byte ptr [rbp+50h+var_40], cl                                  ; +0xbd, 0x1403447ed\nmovups  [rbp+50h+var_20], xmm0                                         ; +0xc0, 0x1403447f0\nmov     [rbp+50h+var_10], rcx                                          ; +0xc4, 0x1403447f4\nmov     [rbp+50h+var_8], 0Fh                                           ; +0xc8, 0x1403447f8\nmov     byte ptr [rbp+50h+var_20], cl                                  ; +0xd0, 0x140344800\nmov     [rsp+150h+var_D8], rcx                                         ; +0xd3, 0x140344803\nmov     [rbp+50h+var_D0], 7                                            ; +0xd8, 0x140344808\nmov     [rbp+50h+var_C8], 0Fh                                          ; +0xe0, 0x140344810\nmov     rax, cs:qword_1405515B8                                        ; +0xe8, 0x140344818\nmov     dword ptr [rsp+150h+var_E0], eax                               ; +0xef, 0x14034481f\nmovzx   eax, word ptr cs:qword_1405515B8+4                             ; +0xf3, 0x140344823\nmov     word ptr [rsp+150h+var_E0+4], ax                               ; +0xfa, 0x14034482a\nmovzx   eax, byte ptr cs:qword_1405515B8+6                             ; +0xff, 0x14034482f\nmov     [rsp+150h+var_E0+6], al                                        ; +0x106, 0x140344836\nmov     [rsp+150h+var_E0+7], cl                                        ; +0x10a, 0x14034483a\nmov     [rsp+150h+var_E8], 0FFFFFFFFh                                  ; +0x10e, 0x14034483e\nmov     [rsp+150h+var_F0], ecx                                         ; +0x116, 0x140344846\nmov     [rsp+150h+var_F8], cl                                          ; +0x11a, 0x14034484a\nlea     rax, [rbp+50h+var_C0]                                          ; +0x11e, 0x14034484e\nmov     [rsp+150h+var_100], rax                                        ; +0x122, 0x140344852\nmov     [rsp+150h+var_108], ecx                                        ; +0x127, 0x140344857\nlea     rax, [rbp+50h+var_A0]                                          ; +0x12b, 0x14034485b\nmov     [rsp+150h+var_110], rax                                        ; +0x12f, 0x14034485f\nlea     rax, [rbp+50h+var_80]                                          ; +0x134, 0x140344864\nmov     [rsp+150h+var_118], rax                                        ; +0x138, 0x140344868\nlea     rax, [rbp+50h+var_60]                                          ; +0x13d, 0x14034486d\nmov     [rsp+150h+var_120], rax                                        ; +0x141, 0x140344871\nlea     rax, [rbp+50h+var_40]                                          ; +0x146, 0x140344876\nmov     [rsp+150h+var_128], rax                                        ; +0x14a, 0x14034487a\nmovss   [rsp+150h+var_130], xmm0                                       ; +0x14f, 0x14034487f\nxor     r9d, r9d                                                       ; +0x155, 0x140344885\nlea     r8, [rbp+50h+var_20]                                           ; +0x158, 0x140344888\nlea     rdx, [rsp+150h+var_E0]                                         ; +0x15c, 0x14034488c\nmov     ecx, ebx                                                       ; +0x161, 0x140344891\ncall    SongInfoObject__create                                         ; +0x163, 0x140344893\nmov     byte ptr [rax+238h], 1                                         ; +0x168, 0x140344898\nmov     rbx, [rsp+150h+arg_0]                                          ; +0x16f, 0x14034489f\nadd     rsp, 150h                                                      ; +0x177, 0x1403448a7\npop     rbp                                                            ; +0x17e, 0x1403448ae\nretn                                                                   ; +0x17f, 0x1403448af", "xrefs": ["CustomSongLayer::init @ 0x1400c37bc", "CustomSongLayer::onSearch @ 0x1400c3c7d", "CustomSongLayer::dropDownLayerWillClose @ 0x1400c4246", "CustomSongLayer::musicBrowserClosed @ 0x1400c4316", "SongSelectNode::onSongMode @ 0x1400c79d6", "GJGameLevel::getSongName @ 0x14016d00b", "LevelInfoLayer::init @ 0x1402f92db", "<???> @ 0x1406d5894"], "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"}