; ; CustomSongLayer::onOptions from 0x140164940 to 0x140164a4c (268 bytes) ; ; 2 xrefs: ; > CustomSongLayer::init @ 0x14016433a ; > @ 0x140917e40 ; ; 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_8], rbx ; +0x0, 0x140164940 push rdi ; +0x5, 0x140164945 sub rsp, 20h ; +0x6, 0x140164946 mov rbx, [rcx+2A8h] ; +0xa, 0x14016494a mov ecx, 2B0h; Size ; +0x11, 0x140164951 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x16, 0x140164956 mov rdi, rax ; +0x1b, 0x14016495b mov [rsp+28h+arg_0], rax ; +0x1e, 0x14016495e mov rcx, rax ; +0x23, 0x140164963 call FLAlertLayer__FLAlertLayer ; +0x26, 0x140164966 lea rax, ??_7SongOptionsLayer@@6B@; const SongOptionsLayer::`vftable' ; +0x2b, 0x14016496b mov [rdi], rax ; +0x32, 0x140164972 lea rax, ??_7SongOptionsLayer@@6B@_0; const SongOptionsLayer::`vftable' ; +0x35, 0x140164975 mov [rdi+140h], rax ; +0x3c, 0x14016497c lea rax, ??_7SongOptionsLayer@@6B@_1; const SongOptionsLayer::`vftable' ; +0x43, 0x140164983 mov [rdi+148h], rax ; +0x4a, 0x14016498a lea rax, ??_7SongOptionsLayer@@6B@_2; const SongOptionsLayer::`vftable' ; +0x51, 0x140164991 mov [rdi+150h], rax ; +0x58, 0x140164998 lea rax, ??_7SongOptionsLayer@@6B@_3; const SongOptionsLayer::`vftable' ; +0x5f, 0x14016499f mov [rdi+158h], rax ; +0x66, 0x1401649a6 lea rax, ??_7SongOptionsLayer@@6B@_4; const SongOptionsLayer::`vftable' ; +0x6d, 0x1401649ad mov [rdi+160h], rax ; +0x74, 0x1401649b4 lea rax, ??_7SongOptionsLayer@@6B@_5; const SongOptionsLayer::`vftable' ; +0x7b, 0x1401649bb mov [rdi+198h], rax ; +0x82, 0x1401649c2 lea rax, ??_7SongOptionsLayer@@6B@_6; const SongOptionsLayer::`vftable' ; +0x89, 0x1401649c9 mov [rdi+1B0h], rax ; +0x90, 0x1401649d0 lea rax, ??_7SongOptionsLayer@@6B@_7; const SongOptionsLayer::`vftable' ; +0x97, 0x1401649d7 mov [rdi+220h], rax ; +0x9e, 0x1401649de mov qword ptr [rdi+298h], 0 ; +0xa5, 0x1401649e5 mov rdx, rbx ; +0xb0, 0x1401649f0 mov rcx, rdi ; +0xb3, 0x1401649f3 call SongOptionsLayer__init ; +0xb6, 0x1401649f6 mov rcx, rdi ; +0xbb, 0x1401649fb test al, al ; +0xbe, 0x1401649fe jz short loc_140164A0A ; +0xc0, 0x140164a00 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xc2, 0x140164a02 jmp short loc_140164A17 ; +0xc8, 0x140164a08 mov rax, [rdi] ; +0xca, 0x140164a0a mov edx, 1 ; +0xcd, 0x140164a0d call qword ptr [rax+8] ; +0xd2, 0x140164a12 xor edi, edi ; +0xd5, 0x140164a15 mov rax, [rdi] ; +0xd7, 0x140164a17 mov rdx, [rax+428h] ; +0xda, 0x140164a1a lea rax, FLAlertLayer__show ; +0xe1, 0x140164a21 mov rcx, rdi ; +0xe8, 0x140164a28 cmp rdx, rax ; +0xeb, 0x140164a2b jnz short loc_140164A3F ; +0xee, 0x140164a2e mov rbx, [rsp+28h+arg_8] ; +0xf0, 0x140164a30 add rsp, 20h ; +0xf5, 0x140164a35 pop rdi ; +0xf9, 0x140164a39 jmp FLAlertLayer__show ; +0xfa, 0x140164a3a mov rbx, [rsp+28h+arg_8] ; +0xff, 0x140164a3f add rsp, 20h ; +0x104, 0x140164a44 pop rdi ; +0x108, 0x140164a48 jmp rdx ; +0x109, 0x140164a49