; ; GJGameLevel::getAudioFileName from 0x140264790 to 0x140264882 (242 bytes) ; ; 11 xrefs: ; > SongSelectNode::getSongFileName @ 0x140168f0d ; > EditLevelLayer::playStep2 @ 0x14017b462 ; > EditLevelLayer::onEdit @ 0x14017b8b6 ; > EditorPauseLayer::playStep2 @ 0x1401826a3 ; > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034e019 ; > LevelInfoLayer::playStep2 @ 0x140422332 ; > LevelInfoLayer::onEdit @ 0x140422ae1 ; > LevelPage::playStep2 @ 0x140447122 ; > PlayLayer::setupHasCompleted @ 0x140504e79 ; > PlayLayer::prepareMusic @ 0x14051ada1 ; > @ 0x14091c88c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:28:49 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x140264790 push rdi ; +0x5, 0x140264795 sub rsp, 60h ; +0x6, 0x140264796 mov rax, cs:__security_cookie ; +0xa, 0x14026479a xor rax, rsp ; +0x11, 0x1402647a1 mov [rsp+68h+var_18], rax ; +0x14, 0x1402647a4 mov rbx, rdx ; +0x19, 0x1402647a9 mov rdi, rcx ; +0x1c, 0x1402647ac mov [rsp+68h+var_40], rdx ; +0x1f, 0x1402647af cmp dword ptr [rcx+2A8h], 0 ; +0x24, 0x1402647b4 jz loc_140264856 ; +0x2b, 0x1402647bb mov rcx, cs:qword_14090C070 ; +0x31, 0x1402647c1 test rcx, rcx ; +0x38, 0x1402647c8 jnz short loc_1402647FB ; +0x3b, 0x1402647cb mov ecx, 3D0h; Size ; +0x3d, 0x1402647cd call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x42, 0x1402647d2 mov [rsp+68h+var_40], rax ; +0x47, 0x1402647d7 mov rcx, rax ; +0x4c, 0x1402647dc call MusicDownloadManager__MusicDownloadManager ; +0x4f, 0x1402647df mov rcx, rax ; +0x54, 0x1402647e4 mov cs:qword_14090C070, rax ; +0x57, 0x1402647e7 mov rax, [rax] ; +0x5e, 0x1402647ee call qword ptr [rax+48h] ; +0x61, 0x1402647f1 mov rcx, cs:qword_14090C070 ; +0x64, 0x1402647f4 mov r8d, [rdi+2A8h] ; +0x6b, 0x1402647fb lea rdx, [rsp+68h+var_38] ; +0x72, 0x140264802 call MusicDownloadManager__pathForSong ; +0x77, 0x140264807 nop ; +0x7c, 0x14026480c cmp qword ptr [rax+18h], 0Fh ; +0x7d, 0x14026480d jbe short loc_140264817 ; +0x82, 0x140264812 mov rax, [rax] ; +0x84, 0x140264814 xorps xmm0, xmm0 ; +0x87, 0x140264817 movups xmmword ptr [rbx], xmm0 ; +0x8a, 0x14026481a mov qword ptr [rbx+10h], 0 ; +0x8d, 0x14026481d mov qword ptr [rbx+18h], 0 ; +0x95, 0x140264825 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x9d, 0x14026482d inc r8 ; +0xa4, 0x140264834 cmp byte ptr [rax+r8], 0 ; +0xa7, 0x140264837 jnz short loc_140264834 ; +0xac, 0x14026483c mov rdx, rax ; +0xae, 0x14026483e mov rcx, rbx ; +0xb1, 0x140264841 call sub_14003D230 ; +0xb4, 0x140264844 nop ; +0xb9, 0x140264849 lea rcx, [rsp+68h+var_38] ; +0xba, 0x14026484a call sub_14003D310 ; +0xbf, 0x14026484f jmp short loc_140264864 ; +0xc4, 0x140264854 mov edx, [rcx+2A4h] ; +0xc6, 0x140264856 mov rcx, rbx ; +0xcc, 0x14026485c call LevelTools__getAudioFileName ; +0xcf, 0x14026485f mov rax, rbx ; +0xd4, 0x140264864 mov rcx, [rsp+68h+var_18] ; +0xd7, 0x140264867 xor rcx, rsp; StackCookie ; +0xdc, 0x14026486c call __security_check_cookie ; +0xdf, 0x14026486f mov rbx, [rsp+68h+arg_10] ; +0xe4, 0x140264874 add rsp, 60h ; +0xec, 0x14026487c pop rdi ; +0xf0, 0x140264880 retn ; +0xf1, 0x140264881