; ; EditorUI::updatePlaybackBtn from 0x140111f60 to 0x140112091 (305 bytes) ; ; 8 xrefs: ; > EditorUI::onPause @ 0x1400e1a59 ; > EditorUI::onPlayback @ 0x140111ebc ; > EditorUI::songStateChanged @ 0x1401120a7 ; > EditorUI::onPlaytest @ 0x1401124ec ; > EditorUI::playtestStopped @ 0x140112614 ; > @ 0x14066f1c0 ; > @ 0x14066f1d0 ; > @ 0x1406c8fd0 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rdi ; +0x0, 0x140111f60 sub rsp, 20h ; +0x2, 0x140111f62 mov rax, [rcx+500h] ; +0x6, 0x140111f66 mov rdi, rcx ; +0xd, 0x140111f6d mov rcx, [rcx+398h] ; +0x10, 0x140111f70 mov [rsp+28h+arg_0], rbx ; +0x17, 0x140111f77 mov [rsp+28h+arg_8], rbp ; +0x1c, 0x140111f7c mov ebp, [rax+880h] ; +0x21, 0x140111f81 test ebp, ebp ; +0x27, 0x140111f87 mov rax, [rcx] ; +0x29, 0x140111f89 mov [rsp+28h+arg_10], rsi ; +0x2c, 0x140111f8c mov [rsp+28h+arg_18], r14 ; +0x31, 0x140111f91 setz r14b ; +0x36, 0x140111f96 call qword ptr [rax+3A8h] ; +0x3a, 0x140111f9a cmp byte ptr [rdi+258h], 0 ; +0x40, 0x140111fa0 mov rsi, rax ; +0x47, 0x140111fa7 jz short loc_140111FC2 ; +0x4a, 0x140111faa test ebp, ebp ; +0x4c, 0x140111fac jnz short loc_140111FC2 ; +0x4e, 0x140111fae mov rbx, [rax] ; +0x50, 0x140111fb0 call cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x53, 0x140111fb3 lea rdx, aGjStopmusicbtn; "GJ_stopMusicBtn_001.png" ; +0x59, 0x140111fb9 jmp short loc_140111FD2 ; +0x60, 0x140111fc0 mov rbx, [rax] ; +0x62, 0x140111fc2 call cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x65, 0x140111fc5 lea rdx, aGjPlaymusicbtn; "GJ_playMusicBtn_001.png" ; +0x6b, 0x140111fcb mov rcx, rax ; +0x72, 0x140111fd2 call cs:?spriteFrameByName@CCSpriteFrameCache@cocos2d@@QEAAPEAVCCSpriteFrame@2@PEBD@Z; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const *) ; +0x75, 0x140111fd5 mov rdx, rax ; +0x7b, 0x140111fdb mov rcx, rsi ; +0x7e, 0x140111fde call qword ptr [rbx+3E0h] ; +0x81, 0x140111fe1 mov rax, [rdi+398h] ; +0x87, 0x140111fe7 mov [rax+198h], r14b ; +0x8e, 0x140111fee mov rcx, [rdi+398h] ; +0x95, 0x140111ff5 mov rax, [rcx] ; +0x9c, 0x140111ffc call qword ptr [rax+3A8h] ; +0x9f, 0x140111fff lea r8, word_140529A48 ; +0xa5, 0x140112005 test ebp, ebp ; +0xac, 0x14011200c lea rdx, word_140529A40 ; +0xae, 0x14011200e cmovz rdx, r8 ; +0xb5, 0x140112015 lea rcx, [rax+140h] ; +0xb9, 0x140112019 mov rax, [rcx] ; +0xc0, 0x140112020 call qword ptr [rax] ; +0xc3, 0x140112023 mov rcx, [rdi+398h] ; +0xc5, 0x140112025 mov edx, 0AFh ; +0xcc, 0x14011202c add rcx, 140h ; +0xd1, 0x140112031 mov r8d, 0FFh ; +0xd8, 0x140112038 test ebp, ebp ; +0xde, 0x14011203e cmovz edx, r8d ; +0xe0, 0x140112040 mov rax, [rcx] ; +0xe4, 0x140112044 call qword ptr [rax+28h] ; +0xe7, 0x140112047 cmp byte ptr [rdi+258h], 0 ; +0xea, 0x14011204a mov r14, [rsp+28h+arg_18] ; +0xf1, 0x140112051 mov rsi, [rsp+28h+arg_10] ; +0xf6, 0x140112056 mov rbp, [rsp+28h+arg_8] ; +0xfb, 0x14011205b mov rbx, [rsp+28h+arg_0] ; +0x100, 0x140112060 jz short loc_140112084 ; +0x105, 0x140112065 mov rax, [rdi+500h] ; +0x107, 0x140112067 cmp dword ptr [rax+880h], 0 ; +0x10e, 0x14011206e jnz short loc_140112084 ; +0x115, 0x140112075 mov byte ptr [rdi+284h], 1 ; +0x117, 0x140112077 add rsp, 20h ; +0x11e, 0x14011207e pop rdi ; +0x122, 0x140112082 retn ; +0x123, 0x140112083 mov byte ptr [rdi+284h], 0 ; +0x124, 0x140112084 add rsp, 20h ; +0x12b, 0x14011208b pop rdi ; +0x12f, 0x14011208f retn ; +0x130, 0x140112090