; ; CustomSongLayer::onNewgroundsBrowser from 0x1400c4020 to 0x1400c4120 (256 bytes) ; ; 2 xrefs: ; > CustomSongLayer::init @ 0x1400c3125 ; > @ 0x1406c807c ; ; 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 ; push rbx ; +0x0, 0x1400c4020 sub rsp, 20h ; +0x2, 0x1400c4022 mov ecx, 280h; Size ; +0x6, 0x1400c4026 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xb, 0x1400c402b mov rbx, rax ; +0x10, 0x1400c4030 mov [rsp+28h+arg_10], rax ; +0x13, 0x1400c4033 mov rcx, rax ; +0x18, 0x1400c4038 call FLAlertLayer__FLAlertLayer ; +0x1b, 0x1400c403b lea rax, ??_7NewgroundsInfoLayer@@6B@; const NewgroundsInfoLayer::`vftable' ; +0x20, 0x1400c4040 mov [rbx], rax ; +0x27, 0x1400c4047 lea rax, ??_7NewgroundsInfoLayer@@6B@_0; const NewgroundsInfoLayer::`vftable' ; +0x2a, 0x1400c404a mov [rbx+140h], rax ; +0x31, 0x1400c4051 lea rax, ??_7NewgroundsInfoLayer@@6B@_1; const NewgroundsInfoLayer::`vftable' ; +0x38, 0x1400c4058 mov [rbx+148h], rax ; +0x3f, 0x1400c405f lea rax, ??_7NewgroundsInfoLayer@@6B@_2; const NewgroundsInfoLayer::`vftable' ; +0x46, 0x1400c4066 mov [rbx+150h], rax ; +0x4d, 0x1400c406d lea rax, ??_7NewgroundsInfoLayer@@6B@_3; const NewgroundsInfoLayer::`vftable' ; +0x54, 0x1400c4074 mov [rbx+158h], rax ; +0x5b, 0x1400c407b lea rax, ??_7NewgroundsInfoLayer@@6B@_4; const NewgroundsInfoLayer::`vftable' ; +0x62, 0x1400c4082 mov [rbx+160h], rax ; +0x69, 0x1400c4089 lea rax, ??_7NewgroundsInfoLayer@@6B@_5; const NewgroundsInfoLayer::`vftable' ; +0x70, 0x1400c4090 mov [rbx+198h], rax ; +0x77, 0x1400c4097 lea rax, ??_7NewgroundsInfoLayer@@6B@_6; const NewgroundsInfoLayer::`vftable' ; +0x7e, 0x1400c409e mov [rbx+1B0h], rax ; +0x85, 0x1400c40a5 lea rax, ??_7NewgroundsInfoLayer@@6B@_7; const NewgroundsInfoLayer::`vftable' ; +0x8c, 0x1400c40ac mov [rbx+278h], rax ; +0x93, 0x1400c40b3 mov rax, cs:off_14054D640 ; +0x9a, 0x1400c40ba lea rcx, NewgroundsInfoLayer__init ; +0xa1, 0x1400c40c1 cmp rax, rcx ; +0xa8, 0x1400c40c8 mov rcx, rbx ; +0xab, 0x1400c40cb jnz short loc_1400C40D7 ; +0xae, 0x1400c40ce call NewgroundsInfoLayer__init ; +0xb0, 0x1400c40d0 jmp short loc_1400C40D9 ; +0xb5, 0x1400c40d5 call rax ; NewgroundsInfoLayer__init ; +0xb7, 0x1400c40d7 mov rcx, rbx ; +0xb9, 0x1400c40d9 test al, al ; +0xbc, 0x1400c40dc jz short loc_1400C40E8 ; +0xbe, 0x1400c40de call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xc0, 0x1400c40e0 jmp short loc_1400C40F5 ; +0xc6, 0x1400c40e6 mov rax, [rbx] ; +0xc8, 0x1400c40e8 mov edx, 1 ; +0xcb, 0x1400c40eb call qword ptr [rax+8] ; +0xd0, 0x1400c40f0 xor ebx, ebx ; +0xd3, 0x1400c40f3 mov rax, [rbx] ; +0xd5, 0x1400c40f5 mov rdx, [rax+410h] ; +0xd8, 0x1400c40f8 lea rax, FLAlertLayer__show ; +0xdf, 0x1400c40ff mov rcx, rbx ; +0xe6, 0x1400c4106 cmp rdx, rax ; +0xe9, 0x1400c4109 jnz short loc_1400C4118 ; +0xec, 0x1400c410c add rsp, 20h ; +0xee, 0x1400c410e pop rbx ; +0xf2, 0x1400c4112 jmp FLAlertLayer__show ; +0xf3, 0x1400c4113 add rsp, 20h ; +0xf8, 0x1400c4118 pop rbx ; +0xfc, 0x1400c411c jmp rdx ; +0xfd, 0x1400c411d