; ; CustomSongLayer::onNCSBrowser from 0x140164ff0 to 0x1401650fb (267 bytes) ; ; 3 xrefs: ; > CustomSongLayer::init @ 0x14016404a ; > @ 0x140917e70 ; > @ 0x140917e7c ; ; 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, 0x140164ff0 push rdi ; +0x5, 0x140164ff5 sub rsp, 20h ; +0x6, 0x140164ff6 mov rbx, rcx ; +0xa, 0x140164ffa mov ecx, 2A8h; Size ; +0xd, 0x140164ffd call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x12, 0x140165002 mov rdi, rax ; +0x17, 0x140165007 mov [rsp+28h+arg_10], rax ; +0x1a, 0x14016500a mov rcx, rax ; +0x1f, 0x14016500f call FLAlertLayer__FLAlertLayer ; +0x22, 0x140165012 lea rax, ??_7NCSInfoLayer@@6B@; const NCSInfoLayer::`vftable' ; +0x27, 0x140165017 mov [rdi], rax ; +0x2e, 0x14016501e lea rax, ??_7NCSInfoLayer@@6B@_0; const NCSInfoLayer::`vftable' ; +0x31, 0x140165021 mov [rdi+140h], rax ; +0x38, 0x140165028 lea rax, ??_7NCSInfoLayer@@6B@_1; const NCSInfoLayer::`vftable' ; +0x3f, 0x14016502f mov [rdi+148h], rax ; +0x46, 0x140165036 lea rax, ??_7NCSInfoLayer@@6B@_2; const NCSInfoLayer::`vftable' ; +0x4d, 0x14016503d mov [rdi+150h], rax ; +0x54, 0x140165044 lea rax, ??_7NCSInfoLayer@@6B@_3; const NCSInfoLayer::`vftable' ; +0x5b, 0x14016504b mov [rdi+158h], rax ; +0x62, 0x140165052 lea rax, ??_7NCSInfoLayer@@6B@_4; const NCSInfoLayer::`vftable' ; +0x69, 0x140165059 mov [rdi+160h], rax ; +0x70, 0x140165060 lea rax, ??_7NCSInfoLayer@@6B@_5; const NCSInfoLayer::`vftable' ; +0x77, 0x140165067 mov [rdi+198h], rax ; +0x7e, 0x14016506e lea rax, ??_7NCSInfoLayer@@6B@_6; const NCSInfoLayer::`vftable' ; +0x85, 0x140165075 mov [rdi+1B0h], rax ; +0x8c, 0x14016507c lea rax, ??_7NCSInfoLayer@@6B@_7; const NCSInfoLayer::`vftable' ; +0x93, 0x140165083 mov [rdi+220h], rax ; +0x9a, 0x14016508a lea rax, ??_7NCSInfoLayer@@6B@_8; const NCSInfoLayer::`vftable' ; +0xa1, 0x140165091 mov [rdi+298h], rax ; +0xa8, 0x140165098 mov rdx, rbx ; +0xaf, 0x14016509f mov rcx, rdi ; +0xb2, 0x1401650a2 call NCSInfoLayer__init ; +0xb5, 0x1401650a5 mov rcx, rdi ; +0xba, 0x1401650aa test al, al ; +0xbd, 0x1401650ad jz short loc_1401650B9 ; +0xbf, 0x1401650af call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xc1, 0x1401650b1 jmp short loc_1401650C6 ; +0xc7, 0x1401650b7 mov rax, [rdi] ; +0xc9, 0x1401650b9 mov edx, 1 ; +0xcc, 0x1401650bc call qword ptr [rax+8] ; +0xd1, 0x1401650c1 xor edi, edi ; +0xd4, 0x1401650c4 mov rax, [rdi] ; +0xd6, 0x1401650c6 mov rdx, [rax+428h] ; +0xd9, 0x1401650c9 lea rax, FLAlertLayer__show ; +0xe0, 0x1401650d0 mov rcx, rdi ; +0xe7, 0x1401650d7 cmp rdx, rax ; +0xea, 0x1401650da jnz short loc_1401650EE ; +0xed, 0x1401650dd mov rbx, [rsp+28h+arg_0] ; +0xef, 0x1401650df add rsp, 20h ; +0xf4, 0x1401650e4 pop rdi ; +0xf8, 0x1401650e8 jmp FLAlertLayer__show ; +0xf9, 0x1401650e9 mov rbx, [rsp+28h+arg_0] ; +0xfe, 0x1401650ee add rsp, 20h ; +0x103, 0x1401650f3 pop rdi ; +0x107, 0x1401650f7 jmp rdx ; +0x108, 0x1401650f8