; ; CustomSongLayer::onSongBrowser from 0x140164f10 to 0x140164f88 (120 bytes) ; ; 2 xrefs: ; > CustomSongLayer::init @ 0x140163f7f ; > @ 0x140917e64 ; ; 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:27:26 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140164f10 mov [rsp+arg_8], rsi ; +0x5, 0x140164f15 push rdi ; +0xa, 0x140164f1a sub rsp, 20h ; +0xb, 0x140164f1b mov rbx, rcx ; +0xf, 0x140164f1f call GJSongBrowser__create ; +0x12, 0x140164f22 mov rsi, rax ; +0x17, 0x140164f27 lea rdx, [rbx+298h] ; +0x1a, 0x140164f2a xor eax, eax ; +0x21, 0x140164f31 test rbx, rbx ; +0x23, 0x140164f33 cmovz rdx, rax ; +0x26, 0x140164f36 mov [rsi+250h], rdx ; +0x2a, 0x140164f3a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x31, 0x140164f41 mov rdi, [rax+110h] ; +0x37, 0x140164f47 mov rcx, rdi ; +0x3e, 0x140164f4e mov rbx, [rdi] ; +0x41, 0x140164f51 call cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x44, 0x140164f54 mov rdx, rsi ; +0x4a, 0x140164f5a mov rcx, rdi ; +0x4d, 0x140164f5d lea r8d, [rax+1] ; +0x50, 0x140164f60 call qword ptr [rbx+1C8h] ; +0x54, 0x140164f64 mov rax, [rsi] ; +0x5a, 0x140164f6a xor edx, edx ; +0x5d, 0x140164f6d mov rcx, rsi ; +0x5f, 0x140164f6f mov rbx, [rsp+28h+arg_0] ; +0x62, 0x140164f72 mov rsi, [rsp+28h+arg_8] ; +0x67, 0x140164f77 add rsp, 20h ; +0x6c, 0x140164f7c pop rdi ; +0x70, 0x140164f80 jmp qword ptr [rax+438h] ; +0x71, 0x140164f81