{"type": "func", "start": 5371218064, "end": 5371218356, "name": "GJGameLevel::getSongName", "pseudocode": "// \n// GJGameLevel::getSongName from 0x140264890 to 0x1402649b4 (292 bytes)\n// \n// 4 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x14014ac3a\n// > LevelCell::loadLocalLevelCell @ 0x14014cdad\n// > EditLevelLayer::setupLevelInfo @ 0x140179f77\n// > <???> @ 0x14091c898\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:28:49 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n_OWORD *__fastcall GJGameLevel::getSongName(__int64 a1, _OWORD *a2)\n{\n  unsigned int v3; // eax\n  __int64 v4; // rax\n  __int128 v5; // xmm6\n  __m128i v6; // xmm7\n  __int128 v8; // [rsp+30h] [rbp-78h]\n  __m128i v9; // [rsp+40h] [rbp-68h]\n  __int128 v10; // [rsp+50h] [rbp-58h] BYREF\n  __m128i si128; // [rsp+60h] [rbp-48h]\n\n  v3 = *(_DWORD *)(a1 + 680);\n  if ( v3 )\n  {\n    v8 = 0;\n    v9.m128i_i64[1] = 15;\n    v4 = SongInfoObject::create_1(v3);\n    if ( !v4 || *(_BYTE *)(v4 + 472) )\n    {\n      v9.m128i_i64[0] = 7;\n      *(_QWORD *)&v8 = 0x6E776F6E6B6E55LL;\n      v6 = v9;\n      v5 = v8;\n    }\n    else\n    {\n      sub_14003F4F0((__int64)&v10, v4 + 328);\n      v5 = v10;\n      v6 = si128;\n      si128 = _mm_load_si128((const __m128i *)&Size);\n      LOBYTE(v10) = 0;\n      sub_14003D310((__int64)&v10);\n    }\n    *a2 = v5;\n    a2[1] = v6;\n  }\n  else\n  {\n    LevelTools::getAudioTitle(a2, *(unsigned int *)(a1 + 676));\n  }\n  return a2;\n}", "assembly": "; \n; GJGameLevel::getSongName from 0x140264890 to 0x1402649b4 (292 bytes)\n; \n; 4 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x14014ac3a\n; > LevelCell::loadLocalLevelCell @ 0x14014cdad\n; > EditLevelLayer::setupLevelInfo @ 0x140179f77\n; > <???> @ 0x14091c898\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:28:49 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x140264890\nmov     [rax+18h], rbx                                                 ; +0x3, 0x140264893\npush    rdi                                                            ; +0x7, 0x140264897\nsub     rsp, 0A0h                                                      ; +0x8, 0x140264898\nmovaps  xmmword ptr [rax-18h], xmm6                                    ; +0xf, 0x14026489f\nmovaps  xmmword ptr [rax-28h], xmm7                                    ; +0x13, 0x1402648a3\nmov     rax, cs:__security_cookie                                      ; +0x17, 0x1402648a7\nxor     rax, rsp                                                       ; +0x1e, 0x1402648ae\nmov     [rsp+0A8h+var_38], rax                                         ; +0x21, 0x1402648b1\nmov     rbx, rdx                                                       ; +0x26, 0x1402648b6\nmov     [rsp+0A8h+var_80], rdx                                         ; +0x29, 0x1402648b9\nxor     edi, edi                                                       ; +0x2e, 0x1402648be\nmov     eax, [rcx+2A8h]                                                ; +0x30, 0x1402648c0\ntest    eax, eax                                                       ; +0x36, 0x1402648c6\njz      loc_14026497B                                                  ; +0x38, 0x1402648c8\nxorps   xmm0, xmm0                                                     ; +0x3e, 0x1402648ce\nmovups  [rsp+0A8h+var_78], xmm0                                        ; +0x41, 0x1402648d1\nmov     qword ptr [rsp+0A8h+var_68], rdi                               ; +0x46, 0x1402648d6\nmov     qword ptr [rsp+0A8h+var_68+8], 0Fh                             ; +0x4b, 0x1402648db\nmov     byte ptr [rsp+0A8h+var_78], dil                                ; +0x54, 0x1402648e4\nmov     ecx, eax                                                       ; +0x59, 0x1402648e9\ncall    SongInfoObject__create_1                                       ; +0x5b, 0x1402648eb\ntest    rax, rax                                                       ; +0x60, 0x1402648f0\njz      short loc_140264938                                            ; +0x63, 0x1402648f3\ncmp     [rax+1D8h], dil                                                ; +0x65, 0x1402648f5\njnz     short loc_140264938                                            ; +0x6c, 0x1402648fc\nlea     rdx, [rax+148h]                                                ; +0x6e, 0x1402648fe\nlea     rcx, [rsp+0A8h+var_58]                                         ; +0x75, 0x140264905\ncall    sub_14003F4F0                                                  ; +0x7a, 0x14026490a\nmovups  xmm6, [rsp+0A8h+var_58]                                        ; +0x7f, 0x14026490f\nmovups  xmm7, [rsp+0A8h+var_48]                                        ; +0x84, 0x140264914\nmovdqa  xmm0, cs:Size                                                  ; +0x89, 0x140264919\nmovdqu  [rsp+0A8h+var_48], xmm0                                        ; +0x91, 0x140264921\nmov     byte ptr [rsp+0A8h+var_58], dil                                ; +0x97, 0x140264927\nlea     rcx, [rsp+0A8h+var_58]                                         ; +0x9c, 0x14026492c\ncall    sub_14003D310                                                  ; +0xa1, 0x140264931\njmp     short loc_140264972                                            ; +0xa6, 0x140264936\nmov     qword ptr [rsp+0A8h+var_68], 7                                 ; +0xa8, 0x140264938\nmov     rax, cs:qword_140748070                                        ; +0xb1, 0x140264941\nmov     dword ptr [rsp+0A8h+var_78], eax                               ; +0xb8, 0x140264948\nmovzx   eax, word ptr cs:qword_140748070+4                             ; +0xbc, 0x14026494c\nmov     word ptr [rsp+0A8h+var_78+4], ax                               ; +0xc3, 0x140264953\nmovzx   eax, byte ptr cs:qword_140748070+6                             ; +0xc8, 0x140264958\nmov     byte ptr [rsp+0A8h+var_78+6], al                               ; +0xcf, 0x14026495f\nmov     byte ptr [rsp+0A8h+var_78+7], 0                                ; +0xd3, 0x140264963\nmovups  xmm7, [rsp+0A8h+var_68]                                        ; +0xd8, 0x140264968\nmovups  xmm6, [rsp+0A8h+var_78]                                        ; +0xdd, 0x14026496d\nmovups  xmmword ptr [rbx], xmm6                                        ; +0xe2, 0x140264972\nmovups  xmmword ptr [rbx+10h], xmm7                                    ; +0xe5, 0x140264975\njmp     short loc_140264989                                            ; +0xe9, 0x140264979\nmov     edx, [rcx+2A4h]                                                ; +0xeb, 0x14026497b\nmov     rcx, rbx                                                       ; +0xf1, 0x140264981\ncall    LevelTools__getAudioTitle                                      ; +0xf4, 0x140264984\nmov     rax, rbx                                                       ; +0xf9, 0x140264989\nmov     rcx, [rsp+0A8h+var_38]                                         ; +0xfc, 0x14026498c\nxor     rcx, rsp; StackCookie                                          ; +0x101, 0x140264991\ncall    __security_check_cookie                                        ; +0x104, 0x140264994\nlea     r11, [rsp+0A8h+var_8]                                          ; +0x109, 0x140264999\nmov     rbx, [r11+20h]                                                 ; +0x111, 0x1402649a1\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x115, 0x1402649a5\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x11a, 0x1402649aa\nmov     rsp, r11                                                       ; +0x11f, 0x1402649af\npop     rdi                                                            ; +0x122, 0x1402649b2\nretn                                                                   ; +0x123, 0x1402649b3", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x14014ac3a", "LevelCell::loadLocalLevelCell @ 0x14014cdad", "EditLevelLayer::setupLevelInfo @ 0x140179f77", "<???> @ 0x14091c898"], "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"}