; ; CustomSongLayer::dropDownLayerWillClose from 0x1401652f0 to 0x1401653c5 (213 bytes) ; ; 4 xrefs: ; > @ 0x140742f30 ; > @ 0x14089bf4c ; > @ 0x14089bf5c ; > @ 0x140917ea0 ; ; 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 ; push rbx ; +0x0, 0x1401652f0 sub rsp, 20h ; +0x2, 0x1401652f2 cmp byte ptr [rdx+278h], 0 ; +0x6, 0x1401652f6 mov rbx, rcx ; +0xd, 0x1401652fd jz loc_1401653BF ; +0x10, 0x140165300 mov rcx, [rcx+10h] ; +0x16, 0x140165306 mov edx, [rdx+274h] ; +0x1a, 0x14016530a mov [rsp+28h+arg_0], rdi ; +0x20, 0x140165310 mov rax, [rcx] ; +0x25, 0x140165315 call qword ptr [rax] ; +0x28, 0x140165318 mov rcx, [rbx+10h] ; +0x2a, 0x14016531a mov rax, [rcx] ; +0x2e, 0x14016531e call qword ptr [rax+8] ; +0x31, 0x140165321 mov ecx, eax ; +0x34, 0x140165324 call SongInfoObject__create_1 ; +0x36, 0x140165326 mov rbx, [rbx+20h] ; +0x3b, 0x14016532b mov rdi, rax ; +0x3f, 0x14016532f mov rcx, [rbx+178h] ; +0x42, 0x140165332 mov rdx, [rcx] ; +0x49, 0x140165339 mov r8, [rdx+150h] ; +0x4c, 0x14016533c xor edx, edx ; +0x53, 0x140165343 call r8 ; +0x55, 0x140165345 mov rcx, [rbx+1E0h] ; +0x58, 0x140165348 test rcx, rcx ; +0x5f, 0x14016534f jz short loc_140165362 ; +0x62, 0x140165352 mov rdx, [rcx] ; +0x64, 0x140165354 mov rax, [rdx+150h] ; +0x67, 0x140165357 xor edx, edx ; +0x6e, 0x14016535e call rax ; +0x70, 0x140165360 mov rax, [rbx+150h] ; +0x72, 0x140165362 cmp rax, rdi ; +0x79, 0x140165369 jz short loc_140165398 ; +0x7c, 0x14016536c test rdi, rdi ; +0x7e, 0x14016536e jz short loc_14016537C ; +0x81, 0x140165371 mov rcx, rdi ; +0x83, 0x140165373 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x86, 0x140165376 mov rcx, [rbx+150h] ; +0x8c, 0x14016537c test rcx, rcx ; +0x93, 0x140165383 jz short loc_14016538E ; +0x96, 0x140165386 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x98, 0x140165388 mov [rbx+150h], rdi ; +0x9e, 0x14016538e mov rax, rdi ; +0xa5, 0x140165395 mov rdi, [rsp+28h+arg_0] ; +0xa8, 0x140165398 test rax, rax ; +0xad, 0x14016539d jz short loc_1401653AA ; +0xb0, 0x1401653a0 mov ecx, [rax+140h] ; +0xb2, 0x1401653a2 jmp short loc_1401653AC ; +0xb8, 0x1401653a8 xor ecx, ecx ; +0xba, 0x1401653aa mov [rbx+1F8h], ecx ; +0xbc, 0x1401653ac mov rcx, rbx ; +0xc2, 0x1401653b2 add rsp, 20h ; +0xc5, 0x1401653b5 pop rbx ; +0xc9, 0x1401653b9 jmp CustomSongWidget__updateSongInfo ; +0xca, 0x1401653ba add rsp, 20h ; +0xcf, 0x1401653bf pop rbx ; +0xd3, 0x1401653c3 retn ; +0xd4, 0x1401653c4