; ; CustomSongLayer::onCreateLines from 0x140165200 to 0x1401652e8 (232 bytes) ; ; 3 xrefs: ; > CustomSongLayer::init @ 0x14016425a ; > @ 0x140917e88 ; > @ 0x140917e94 ; ; 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, 0x140165200 push rdi ; +0x5, 0x140165205 sub rsp, 20h ; +0x6, 0x140165206 mov rdi, rcx ; +0xa, 0x14016520a mov rbx, cs:qword_14090BF60 ; +0xd, 0x14016520d test rbx, rbx ; +0x14, 0x140165214 jnz short loc_14016524B ; +0x17, 0x140165217 mov ecx, 8A8h; Size ; +0x19, 0x140165219 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1e, 0x14016521e mov [rsp+28h+arg_0], rax ; +0x23, 0x140165223 mov rcx, rax ; +0x28, 0x140165228 call FMODAudioEngine__FMODAudioEngine ; +0x2b, 0x14016522b nop ; +0x30, 0x140165230 mov cs:qword_14090BF60, rax ; +0x31, 0x140165231 mov rcx, [rax] ; +0x38, 0x140165238 mov rdx, [rcx+48h] ; +0x3b, 0x14016523b mov rcx, rax ; +0x3f, 0x14016523f call rdx ; +0x42, 0x140165242 mov rbx, cs:qword_14090BF60 ; +0x44, 0x140165244 mov rcx, [rbx+228h] ; +0x4b, 0x14016524b test rcx, rcx ; +0x52, 0x140165252 jz short loc_14016525D ; +0x55, 0x140165255 call cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x57, 0x140165257 lea rcx, [rbx+448h] ; +0x5d, 0x14016525d call sub_14003EB60 ; +0x64, 0x140165264 lea rcx, [rbx+488h] ; +0x69, 0x140165269 call sub_14003EB60 ; +0x70, 0x140165270 lea rcx, [rbx+4C8h] ; +0x75, 0x140165275 call sub_14003EB60 ; +0x7c, 0x14016527c mov rdi, [rdi+2A8h] ; +0x81, 0x140165281 mov ecx, 300h; Size ; +0x88, 0x140165288 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x8d, 0x14016528d mov [rsp+28h+arg_0], rax ; +0x92, 0x140165292 mov rcx, rax ; +0x97, 0x140165297 call CreateGuidelinesLayer__CreateGuidelinesLayer ; +0x9a, 0x14016529a mov rbx, rax ; +0x9f, 0x14016529f test rax, rax ; +0xa2, 0x1401652a2 jz short loc_1401652D1 ; +0xa5, 0x1401652a5 xor r8d, r8d ; +0xa7, 0x1401652a7 mov rdx, rdi ; +0xaa, 0x1401652aa mov rcx, rax ; +0xad, 0x1401652ad call CreateGuidelinesLayer__init ; +0xb0, 0x1401652b0 mov rcx, rbx ; +0xb5, 0x1401652b5 test al, al ; +0xb8, 0x1401652b8 jz short loc_1401652C4 ; +0xba, 0x1401652ba call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xbc, 0x1401652bc jmp short loc_1401652D1 ; +0xc2, 0x1401652c2 mov rax, [rbx] ; +0xc4, 0x1401652c4 mov edx, 1 ; +0xc7, 0x1401652c7 call qword ptr [rax+8] ; +0xcc, 0x1401652cc xor ebx, ebx ; +0xcf, 0x1401652cf mov rax, [rbx] ; +0xd1, 0x1401652d1 mov rcx, rbx ; +0xd4, 0x1401652d4 mov rbx, [rsp+28h+arg_8] ; +0xd7, 0x1401652d7 add rsp, 20h ; +0xdc, 0x1401652dc pop rdi ; +0xe0, 0x1401652e0 jmp qword ptr [rax+428h] ; +0xe1, 0x1401652e1