; ; CustomSongLayer::onOptions from 0x1400c38a0 to 0x1400c399e (254 bytes) ; ; 2 xrefs: ; > CustomSongLayer::init @ 0x1400c32ae ; > @ 0x1406c8034 ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x1400c38a0 push rdi ; +0x5, 0x1400c38a5 sub rsp, 20h ; +0x6, 0x1400c38a6 mov rbx, [rcx+290h] ; +0xa, 0x1400c38aa mov ecx, 290h; Size ; +0x11, 0x1400c38b1 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x16, 0x1400c38b6 mov rdi, rax ; +0x1b, 0x1400c38bb mov [rsp+28h+arg_0], rax ; +0x1e, 0x1400c38be mov rcx, rax ; +0x23, 0x1400c38c3 call FLAlertLayer__FLAlertLayer ; +0x26, 0x1400c38c6 lea rax, ??_7SongOptionsLayer@@6B@; const SongOptionsLayer::`vftable' ; +0x2b, 0x1400c38cb mov [rdi], rax ; +0x32, 0x1400c38d2 lea rax, ??_7SongOptionsLayer@@6B@_0; const SongOptionsLayer::`vftable' ; +0x35, 0x1400c38d5 mov [rdi+140h], rax ; +0x3c, 0x1400c38dc lea rax, ??_7SongOptionsLayer@@6B@_1; const SongOptionsLayer::`vftable' ; +0x43, 0x1400c38e3 mov [rdi+148h], rax ; +0x4a, 0x1400c38ea lea rax, ??_7SongOptionsLayer@@6B@_2; const SongOptionsLayer::`vftable' ; +0x51, 0x1400c38f1 mov [rdi+150h], rax ; +0x58, 0x1400c38f8 lea rax, ??_7SongOptionsLayer@@6B@_3; const SongOptionsLayer::`vftable' ; +0x5f, 0x1400c38ff mov [rdi+158h], rax ; +0x66, 0x1400c3906 lea rax, ??_7SongOptionsLayer@@6B@_4; const SongOptionsLayer::`vftable' ; +0x6d, 0x1400c390d mov [rdi+160h], rax ; +0x74, 0x1400c3914 lea rax, ??_7SongOptionsLayer@@6B@_5; const SongOptionsLayer::`vftable' ; +0x7b, 0x1400c391b mov [rdi+198h], rax ; +0x82, 0x1400c3922 lea rax, ??_7SongOptionsLayer@@6B@_6; const SongOptionsLayer::`vftable' ; +0x89, 0x1400c3929 mov [rdi+1B0h], rax ; +0x90, 0x1400c3930 mov qword ptr [rdi+278h], 0 ; +0x97, 0x1400c3937 mov rdx, rbx ; +0xa2, 0x1400c3942 mov rcx, rdi ; +0xa5, 0x1400c3945 call SongOptionsLayer__init ; +0xa8, 0x1400c3948 mov rcx, rdi ; +0xad, 0x1400c394d test al, al ; +0xb0, 0x1400c3950 jz short loc_1400C395C ; +0xb2, 0x1400c3952 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xb4, 0x1400c3954 jmp short loc_1400C3969 ; +0xba, 0x1400c395a mov rax, [rdi] ; +0xbc, 0x1400c395c mov edx, 1 ; +0xbf, 0x1400c395f call qword ptr [rax+8] ; +0xc4, 0x1400c3964 xor edi, edi ; +0xc7, 0x1400c3967 mov rax, [rdi] ; +0xc9, 0x1400c3969 mov rdx, [rax+410h] ; +0xcc, 0x1400c396c lea rax, FLAlertLayer__show ; +0xd3, 0x1400c3973 mov rcx, rdi ; +0xda, 0x1400c397a cmp rdx, rax ; +0xdd, 0x1400c397d jnz short loc_1400C3991 ; +0xe0, 0x1400c3980 mov rbx, [rsp+28h+arg_8] ; +0xe2, 0x1400c3982 add rsp, 20h ; +0xe7, 0x1400c3987 pop rdi ; +0xeb, 0x1400c398b jmp FLAlertLayer__show ; +0xec, 0x1400c398c mov rbx, [rsp+28h+arg_8] ; +0xf1, 0x1400c3991 add rsp, 20h ; +0xf6, 0x1400c3996 pop rdi ; +0xfa, 0x1400c399a jmp rdx ; +0xfb, 0x1400c399b