; ; CustomSongLayer::onNewgroundsBrowser from 0x140165100 to 0x140165200 (256 bytes) ; ; 2 xrefs: ; > CustomSongLayer::init @ 0x1401641a2 ; > @ 0x140917e88 ; ; 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 ; push rbx ; +0x0, 0x140165100 sub rsp, 20h ; +0x2, 0x140165102 mov ecx, 298h; Size ; +0x6, 0x140165106 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xb, 0x14016510b mov rbx, rax ; +0x10, 0x140165110 mov [rsp+28h+arg_10], rax ; +0x13, 0x140165113 mov rcx, rax ; +0x18, 0x140165118 call FLAlertLayer__FLAlertLayer ; +0x1b, 0x14016511b lea rax, ??_7NewgroundsInfoLayer@@6B@; const NewgroundsInfoLayer::`vftable' ; +0x20, 0x140165120 mov [rbx], rax ; +0x27, 0x140165127 lea rax, ??_7NewgroundsInfoLayer@@6B@_0; const NewgroundsInfoLayer::`vftable' ; +0x2a, 0x14016512a mov [rbx+140h], rax ; +0x31, 0x140165131 lea rax, ??_7NewgroundsInfoLayer@@6B@_1; const NewgroundsInfoLayer::`vftable' ; +0x38, 0x140165138 mov [rbx+148h], rax ; +0x3f, 0x14016513f lea rax, ??_7NewgroundsInfoLayer@@6B@_2; const NewgroundsInfoLayer::`vftable' ; +0x46, 0x140165146 mov [rbx+150h], rax ; +0x4d, 0x14016514d lea rax, ??_7NewgroundsInfoLayer@@6B@_3; const NewgroundsInfoLayer::`vftable' ; +0x54, 0x140165154 mov [rbx+158h], rax ; +0x5b, 0x14016515b lea rax, ??_7NewgroundsInfoLayer@@6B@_4; const NewgroundsInfoLayer::`vftable' ; +0x62, 0x140165162 mov [rbx+160h], rax ; +0x69, 0x140165169 lea rax, ??_7NewgroundsInfoLayer@@6B@_5; const NewgroundsInfoLayer::`vftable' ; +0x70, 0x140165170 mov [rbx+198h], rax ; +0x77, 0x140165177 lea rax, ??_7NewgroundsInfoLayer@@6B@_6; const NewgroundsInfoLayer::`vftable' ; +0x7e, 0x14016517e mov [rbx+1B0h], rax ; +0x85, 0x140165185 lea rax, ??_7NewgroundsInfoLayer@@6B@_7; const NewgroundsInfoLayer::`vftable' ; +0x8c, 0x14016518c mov [rbx+220h], rax ; +0x93, 0x140165193 mov rax, cs:off_140743188 ; +0x9a, 0x14016519a lea rcx, NewgroundsInfoLayer__init ; +0xa1, 0x1401651a1 cmp rax, rcx ; +0xa8, 0x1401651a8 mov rcx, rbx ; +0xab, 0x1401651ab jnz short loc_1401651B7 ; +0xae, 0x1401651ae call NewgroundsInfoLayer__init ; +0xb0, 0x1401651b0 jmp short loc_1401651B9 ; +0xb5, 0x1401651b5 call rax ; NewgroundsInfoLayer__init ; +0xb7, 0x1401651b7 mov rcx, rbx ; +0xb9, 0x1401651b9 test al, al ; +0xbc, 0x1401651bc jz short loc_1401651C8 ; +0xbe, 0x1401651be call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xc0, 0x1401651c0 jmp short loc_1401651D5 ; +0xc6, 0x1401651c6 mov rax, [rbx] ; +0xc8, 0x1401651c8 mov edx, 1 ; +0xcb, 0x1401651cb call qword ptr [rax+8] ; +0xd0, 0x1401651d0 xor ebx, ebx ; +0xd3, 0x1401651d3 mov rax, [rbx] ; +0xd5, 0x1401651d5 mov rdx, [rax+428h] ; +0xd8, 0x1401651d8 lea rax, FLAlertLayer__show ; +0xdf, 0x1401651df mov rcx, rbx ; +0xe6, 0x1401651e6 cmp rdx, rax ; +0xe9, 0x1401651e9 jnz short loc_1401651F8 ; +0xec, 0x1401651ec add rsp, 20h ; +0xee, 0x1401651ee pop rbx ; +0xf2, 0x1401651f2 jmp FLAlertLayer__show ; +0xf3, 0x1401651f3 add rsp, 20h ; +0xf8, 0x1401651f8 pop rbx ; +0xfc, 0x1401651fc jmp rdx ; +0xfd, 0x1401651fd