; ; GJSongBrowser::create from 0x1402b7170 to 0x1402b72e9 (377 bytes) ; ; 3 xrefs: ; > CustomSongLayer::onSongBrowser @ 0x1400c3e52 ; > MoreOptionsLayer::onSongBrowser @ 0x1403763ad ; > @ 0x1406d2534 ; ; 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, 0x1402b7170 push rdi ; +0x5, 0x1402b7175 sub rsp, 20h ; +0x6, 0x1402b7176 mov ecx, 2B0h; Size ; +0xa, 0x1402b717a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xf, 0x1402b717f mov rbx, rax ; +0x14, 0x1402b7184 mov [rsp+28h+arg_0], rax ; +0x17, 0x1402b7187 mov rcx, rax ; +0x1c, 0x1402b718c call GJDropDownLayer__GJDropDownLayer ; +0x1f, 0x1402b718f nop ; +0x24, 0x1402b7194 lea rax, ??_7GJSongBrowser@@6B@; const GJSongBrowser::`vftable' ; +0x25, 0x1402b7195 mov [rbx], rax ; +0x2c, 0x1402b719c lea rax, ??_7GJSongBrowser@@6B@_0; const GJSongBrowser::`vftable' ; +0x2f, 0x1402b719f mov [rbx+140h], rax ; +0x36, 0x1402b71a6 lea rax, ??_7GJSongBrowser@@6B@_1; const GJSongBrowser::`vftable' ; +0x3d, 0x1402b71ad mov [rbx+148h], rax ; +0x44, 0x1402b71b4 lea rax, ??_7GJSongBrowser@@6B@_2; const GJSongBrowser::`vftable' ; +0x4b, 0x1402b71bb mov [rbx+150h], rax ; +0x52, 0x1402b71c2 lea rax, ??_7GJSongBrowser@@6B@_3; const GJSongBrowser::`vftable' ; +0x59, 0x1402b71c9 mov [rbx+158h], rax ; +0x60, 0x1402b71d0 lea rax, ??_7GJSongBrowser@@6B@_4; const GJSongBrowser::`vftable' ; +0x67, 0x1402b71d7 mov [rbx+160h], rax ; +0x6e, 0x1402b71de lea rax, ??_7GJSongBrowser@@6B@_5; const GJSongBrowser::`vftable' ; +0x75, 0x1402b71e5 mov [rbx+198h], rax ; +0x7c, 0x1402b71ec lea rax, ??_7GJSongBrowser@@6B@_6; const GJSongBrowser::`vftable' ; +0x83, 0x1402b71f3 mov [rbx+1B0h], rax ; +0x8a, 0x1402b71fa lea rax, ??_7GJSongBrowser@@6B@_7; const GJSongBrowser::`vftable' ; +0x91, 0x1402b7201 mov [rbx+260h], rax ; +0x98, 0x1402b7208 lea rax, ??_7GJSongBrowser@@6B@_8; const GJSongBrowser::`vftable' ; +0x9f, 0x1402b720f mov [rbx+268h], rax ; +0xa6, 0x1402b7216 xor edi, edi ; +0xad, 0x1402b721d mov [rbx+270h], rdi ; +0xaf, 0x1402b721f mov [rbx+278h], dil ; +0xb6, 0x1402b7226 mov [rbx+280h], rdi ; +0xbd, 0x1402b722d mov [rbx+288h], rdi ; +0xc4, 0x1402b7234 mov [rbx+290h], rdi ; +0xcb, 0x1402b723b lea rcx, [rbx+298h] ; +0xd2, 0x1402b7242 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0xd9, 0x1402b7249 mov [rbx+2A0h], rdi ; +0xdf, 0x1402b724f mov [rbx+2A8h], rdi ; +0xe6, 0x1402b7256 mov rax, [rbx] ; +0xed, 0x1402b725d mov rdx, [rax+48h] ; +0xf0, 0x1402b7260 lea rax, GJSongBrowser__init ; +0xf4, 0x1402b7264 mov rcx, rbx ; +0xfb, 0x1402b726b cmp rdx, rax ; +0xfe, 0x1402b726e jnz short loc_1402B72AF ; +0x101, 0x1402b7271 xor r9d, r9d ; +0x103, 0x1402b7273 movss xmm2, cs:dword_1406233F4 ; +0x106, 0x1402b7276 lea rdx, aDownloadedSong; "Downloaded Songs" ; +0x10e, 0x1402b727e call GJDropDownLayer__init ; +0x115, 0x1402b7285 test al, al ; +0x11a, 0x1402b728a jz short loc_1402B72CC ; +0x11c, 0x1402b728c xor edx, edx ; +0x11e, 0x1402b728e mov rcx, rbx ; +0x120, 0x1402b7290 call GJSongBrowser__loadPage ; +0x123, 0x1402b7293 mov rcx, rbx ; +0x128, 0x1402b7298 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x12b, 0x1402b729b mov rax, rbx ; +0x131, 0x1402b72a1 mov rbx, [rsp+28h+arg_8] ; +0x134, 0x1402b72a4 add rsp, 20h ; +0x139, 0x1402b72a9 pop rdi ; +0x13d, 0x1402b72ad retn ; +0x13e, 0x1402b72ae call rdx ; +0x13f, 0x1402b72af test al, al ; +0x141, 0x1402b72b1 jz short loc_1402B72CC ; +0x143, 0x1402b72b3 mov rcx, rbx ; +0x145, 0x1402b72b5 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x148, 0x1402b72b8 mov rax, rbx ; +0x14e, 0x1402b72be mov rbx, [rsp+28h+arg_8] ; +0x151, 0x1402b72c1 add rsp, 20h ; +0x156, 0x1402b72c6 pop rdi ; +0x15a, 0x1402b72ca retn ; +0x15b, 0x1402b72cb mov r8, [rbx] ; +0x15c, 0x1402b72cc mov edx, 1 ; +0x15f, 0x1402b72cf mov rcx, rbx ; +0x164, 0x1402b72d4 call qword ptr [r8+8] ; +0x167, 0x1402b72d7 mov rax, rdi ; +0x16b, 0x1402b72db mov rbx, [rsp+28h+arg_8] ; +0x16e, 0x1402b72de add rsp, 20h ; +0x173, 0x1402b72e3 pop rdi ; +0x177, 0x1402b72e7 retn ; +0x178, 0x1402b72e8