{"type": "func", "start": 5373328704, "end": 5373329012, "name": "LevelTools::getSongObject", "pseudocode": "// \n// LevelTools::getSongObject from 0x140467d40 to 0x140467e74 (308 bytes)\n// \n// 3 xrefs:\n// > AudioAssetsPopup::init @ 0x1400be163\n// > LevelInfoLayer::init @ 0x14041e121\n// > <???> @ 0x140927ef0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:32:35 +0000\n// \n\n// Hidden C++ exception states: #wind=5\n__int64 __fastcall LevelTools::getSongObject(int a1)\n{\n  int v2; // edi\n  int v3; // ebx\n  int v4; // eax\n  __int64 v5; // rbx\n  __int128 v7; // [rsp+60h] [rbp-A0h] BYREF\n  __int64 v8; // [rsp+70h] [rbp-90h]\n  __int64 v9; // [rsp+78h] [rbp-88h]\n  __int128 v10; // [rsp+80h] [rbp-80h] BYREF\n  __int64 v11; // [rsp+90h] [rbp-70h]\n  __int64 v12; // [rsp+98h] [rbp-68h]\n  __int128 *v13; // [rsp+A0h] [rbp-60h]\n  __int128 *v14; // [rsp+A8h] [rbp-58h]\n  _BYTE *v15; // [rsp+B0h] [rbp-50h]\n  _BYTE v16[32]; // [rsp+C0h] [rbp-40h] BYREF\n  _BYTE v17[32]; // [rsp+E0h] [rbp-20h] BYREF\n  _BYTE v18[32]; // [rsp+100h] [rbp+0h] BYREF\n  _BYTE v19[32]; // [rsp+120h] [rbp+20h] BYREF\n\n  LevelTools::getAudioTitle((__int64)v19, a1);\n  v2 = LevelTools::artistForAudio(a1);\n  LevelTools::nameForArtist((__int64)v18, v2);\n  v13 = &v7;\n  v14 = &v10;\n  v15 = v16;\n  v7 = 0;\n  v8 = 0;\n  v9 = 15;\n  LOBYTE(v7) = 0;\n  v10 = 0;\n  v11 = 0;\n  v12 = 15;\n  LOBYTE(v10) = 0;\n  v3 = sub_14003F4F0((__int64)v16, (__int64)v18);\n  v4 = sub_14003F4F0((__int64)v17, (__int64)v19);\n  v5 = SongInfoObject::create(a1, v4, v3, v2, 0, (__int64)&v10, 0, (__int64)&v7, 0, 0, -1);\n  sub_14003D310((__int64)v18);\n  sub_14003D310((__int64)v19);\n  return v5;\n}", "assembly": "; \n; LevelTools::getSongObject from 0x140467d40 to 0x140467e74 (308 bytes)\n; \n; 3 xrefs:\n; > AudioAssetsPopup::init @ 0x1400be163\n; > LevelInfoLayer::init @ 0x14041e121\n; > <???> @ 0x140927ef0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:32:35 +0000\n; \nmov     [rsp-8+arg_8], rbx                                             ; +0x0, 0x140467d40\nmov     [rsp-8+arg_10], rsi                                            ; +0x5, 0x140467d45\npush    rbp                                                            ; +0xa, 0x140467d4a\npush    rdi                                                            ; +0xb, 0x140467d4b\npush    r14                                                            ; +0xc, 0x140467d4c\nlea     rbp, [rsp-50h]                                                 ; +0xe, 0x140467d4e\nsub     rsp, 150h                                                      ; +0x13, 0x140467d53\nmov     rax, cs:__security_cookie                                      ; +0x1a, 0x140467d5a\nxor     rax, rsp                                                       ; +0x21, 0x140467d61\nmov     [rbp+60h+var_20], rax                                          ; +0x24, 0x140467d64\nmov     esi, ecx                                                       ; +0x28, 0x140467d68\nmov     edx, ecx                                                       ; +0x2a, 0x140467d6a\nlea     rcx, [rbp+60h+var_40]                                          ; +0x2c, 0x140467d6c\ncall    LevelTools__getAudioTitle                                      ; +0x30, 0x140467d70\nnop                                                                    ; +0x35, 0x140467d75\nmov     ecx, esi                                                       ; +0x36, 0x140467d76\ncall    LevelTools__artistForAudio                                     ; +0x38, 0x140467d78\nmov     edi, eax                                                       ; +0x3d, 0x140467d7d\nmov     edx, eax                                                       ; +0x3f, 0x140467d7f\nlea     rcx, [rbp+60h+var_60]                                          ; +0x41, 0x140467d81\ncall    LevelTools__nameForArtist                                      ; +0x45, 0x140467d85\nnop                                                                    ; +0x4a, 0x140467d8a\nlea     rax, [rsp+160h+var_100]                                        ; +0x4b, 0x140467d8b\nmov     [rbp+60h+var_C0], rax                                          ; +0x50, 0x140467d90\nlea     rax, [rbp+60h+var_E0]                                          ; +0x54, 0x140467d94\nmov     [rbp+60h+var_B8], rax                                          ; +0x58, 0x140467d98\nlea     rax, [rbp+60h+var_A0]                                          ; +0x5c, 0x140467d9c\nmov     [rbp+60h+var_B0], rax                                          ; +0x60, 0x140467da0\nxorps   xmm0, xmm0                                                     ; +0x64, 0x140467da4\nmovups  [rsp+160h+var_100], xmm0                                       ; +0x67, 0x140467da7\nxor     r14d, r14d                                                     ; +0x6c, 0x140467dac\nmov     [rsp+160h+var_F0], r14                                         ; +0x6f, 0x140467daf\nmov     [rsp+160h+var_E8], 0Fh                                         ; +0x74, 0x140467db4\nmov     byte ptr [rsp+160h+var_100], r14b                              ; +0x7d, 0x140467dbd\nmovups  [rbp+60h+var_E0], xmm0                                         ; +0x82, 0x140467dc2\nmov     [rbp+60h+var_D0], r14                                          ; +0x86, 0x140467dc6\nmov     [rbp+60h+var_C8], 0Fh                                          ; +0x8a, 0x140467dca\nmov     byte ptr [rbp+60h+var_E0], r14b                                ; +0x92, 0x140467dd2\nlea     rdx, [rbp+60h+var_60]                                          ; +0x96, 0x140467dd6\nlea     rcx, [rbp+60h+var_A0]                                          ; +0x9a, 0x140467dda\ncall    sub_14003F4F0                                                  ; +0x9e, 0x140467dde\nmov     rbx, rax                                                       ; +0xa3, 0x140467de3\nlea     rdx, [rbp+60h+var_40]                                          ; +0xa6, 0x140467de6\nlea     rcx, [rbp+60h+var_80]                                          ; +0xaa, 0x140467dea\ncall    sub_14003F4F0                                                  ; +0xae, 0x140467dee\nnop                                                                    ; +0xb3, 0x140467df3\nmov     [rsp+160h+var_110], 0FFFFFFFFh                                 ; +0xb4, 0x140467df4\nmov     [rsp+160h+var_118], r14d                                       ; +0xbc, 0x140467dfc\nmov     [rsp+160h+var_120], r14b                                       ; +0xc1, 0x140467e01\nlea     rcx, [rsp+160h+var_100]                                        ; +0xc6, 0x140467e06\nmov     [rsp+160h+var_128], rcx                                        ; +0xcb, 0x140467e0b\nmov     [rsp+160h+var_130], r14d                                       ; +0xd0, 0x140467e10\nlea     rcx, [rbp+60h+var_E0]                                          ; +0xd5, 0x140467e15\nmov     [rsp+160h+var_138], rcx                                        ; +0xd9, 0x140467e19\nxorps   xmm0, xmm0                                                     ; +0xde, 0x140467e1e\nmovss   [rsp+160h+var_140], xmm0                                       ; +0xe1, 0x140467e21\nmov     r9d, edi                                                       ; +0xe7, 0x140467e27\nmov     r8, rbx                                                        ; +0xea, 0x140467e2a\nmov     rdx, rax                                                       ; +0xed, 0x140467e2d\nmov     ecx, esi                                                       ; +0xf0, 0x140467e30\ncall    SongInfoObject__create                                         ; +0xf2, 0x140467e32\nmov     rbx, rax                                                       ; +0xf7, 0x140467e37\nlea     rcx, [rbp+60h+var_60]                                          ; +0xfa, 0x140467e3a\ncall    sub_14003D310                                                  ; +0xfe, 0x140467e3e\nnop                                                                    ; +0x103, 0x140467e43\nlea     rcx, [rbp+60h+var_40]                                          ; +0x104, 0x140467e44\ncall    sub_14003D310                                                  ; +0x108, 0x140467e48\nmov     rax, rbx                                                       ; +0x10d, 0x140467e4d\nmov     rcx, [rbp+60h+var_20]                                          ; +0x110, 0x140467e50\nxor     rcx, rsp; StackCookie                                          ; +0x114, 0x140467e54\ncall    __security_check_cookie                                        ; +0x117, 0x140467e57\nlea     r11, [rsp+160h+var_10]                                         ; +0x11c, 0x140467e5c\nmov     rbx, [r11+28h]                                                 ; +0x124, 0x140467e64\nmov     rsi, [r11+30h]                                                 ; +0x128, 0x140467e68\nmov     rsp, r11                                                       ; +0x12c, 0x140467e6c\npop     r14                                                            ; +0x12f, 0x140467e6f\npop     rdi                                                            ; +0x131, 0x140467e71\npop     rbp                                                            ; +0x132, 0x140467e72\nretn                                                                   ; +0x133, 0x140467e73", "xrefs": ["AudioAssetsPopup::init @ 0x1400be163", "LevelInfoLayer::init @ 0x14041e121", "<???> @ 0x140927ef0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}