; ; GJItemIcon::createBrowserItem from 0x14027a9f0 to 0x14027ab0f (287 bytes) ; ; 5 xrefs: ; > GJGarageLayer::getItems @ 0x14027693a ; > GJGarageLayer::setupSpecialPage @ 0x140276ee3 ; > GJGarageLayer::dialogClosed @ 0x14027888e ; > ItemInfoPopup::init @ 0x14027c087 ; > @ 0x1406d10f4 ; ; 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_0], rbx ; +0x0, 0x14027a9f0 push rbp ; +0x5, 0x14027a9f5 push rsi ; +0x6, 0x14027a9f6 push rdi ; +0x7, 0x14027a9f7 sub rsp, 60h ; +0x8, 0x14027a9f8 mov ebx, edx ; +0xc, 0x14027a9fc mov edi, ecx ; +0xe, 0x14027a9fe mov [rsp+78h+arg_10], 0FFFFh ; +0x10, 0x14027aa00 mov [rsp+78h+var_28], 0AFAFh ; +0x1a, 0x14027aa0a mov ecx, 278h; Size ; +0x21, 0x14027aa11 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x26, 0x14027aa16 mov rsi, rax ; +0x2b, 0x14027aa1b mov [rsp+78h+arg_18], rax ; +0x2e, 0x14027aa1e mov rcx, rax ; +0x36, 0x14027aa26 call cs:??0CCSprite@cocos2d@@QEAA@XZ; cocos2d::CCSprite::CCSprite(void) ; +0x39, 0x14027aa29 nop ; +0x3f, 0x14027aa2f lea rax, ??_7GJItemIcon@@6B@; const GJItemIcon::`vftable' ; +0x40, 0x14027aa30 mov [rsi], rax ; +0x47, 0x14027aa37 lea rax, ??_7GJItemIcon@@6B@_0; const GJItemIcon::`vftable' ; +0x4a, 0x14027aa3a mov [rsi+140h], rax ; +0x51, 0x14027aa41 lea rax, ??_7GJItemIcon@@6B@_1; const GJItemIcon::`vftable' ; +0x58, 0x14027aa48 mov [rsi+158h], rax ; +0x5f, 0x14027aa4f xor ebp, ebp ; +0x66, 0x14027aa56 mov [rsi+258h], rbp ; +0x68, 0x14027aa58 mov [rsi+260h], ebp ; +0x6f, 0x14027aa5f lea rcx, [rsi+264h] ; +0x75, 0x14027aa65 call cs:??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void) ; +0x7c, 0x14027aa6c mov [rsi+26Ch], bpl ; +0x82, 0x14027aa72 mov [rsi+270h], rbp ; +0x89, 0x14027aa79 movzx eax, [rsp+78h+arg_10] ; +0x90, 0x14027aa80 mov [rsp+78h+arg_10], ax ; +0x98, 0x14027aa88 mov [rsp+78h+arg_12], 0FFh ; +0xa0, 0x14027aa90 movzx eax, [rsp+78h+var_28] ; +0xa8, 0x14027aa98 mov [rsp+78h+var_28], ax ; +0xad, 0x14027aa9d mov [rsp+78h+var_26], 0AFh ; +0xb2, 0x14027aaa2 mov [rsp+78h+var_40], 1 ; +0xb7, 0x14027aaa7 mov [rsp+78h+var_50], bpl ; +0xbc, 0x14027aaac lea rax, [rsp+78h+arg_10] ; +0xc1, 0x14027aab1 mov [rsp+78h+var_58], rax ; +0xc9, 0x14027aab9 lea r9, [rsp+78h+var_28] ; +0xce, 0x14027aabe mov r8d, ebx ; +0xd3, 0x14027aac3 mov edx, edi ; +0xd6, 0x14027aac6 mov rcx, rsi ; +0xd8, 0x14027aac8 call GJItemIcon__init ; +0xdb, 0x14027aacb mov rcx, rsi ; +0xe0, 0x14027aad0 test al, al ; +0xe3, 0x14027aad3 jz short loc_14027AAF0 ; +0xe5, 0x14027aad5 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xe7, 0x14027aad7 mov rax, rsi ; +0xed, 0x14027aadd mov rbx, [rsp+78h+arg_0] ; +0xf0, 0x14027aae0 add rsp, 60h ; +0xf8, 0x14027aae8 pop rdi ; +0xfc, 0x14027aaec pop rsi ; +0xfd, 0x14027aaed pop rbp ; +0xfe, 0x14027aaee retn ; +0xff, 0x14027aaef mov r8, [rsi] ; +0x100, 0x14027aaf0 mov edx, 1 ; +0x103, 0x14027aaf3 call qword ptr [r8+8] ; +0x108, 0x14027aaf8 mov rax, rbp ; +0x10c, 0x14027aafc mov rbx, [rsp+78h+arg_0] ; +0x10f, 0x14027aaff add rsp, 60h ; +0x117, 0x14027ab07 pop rdi ; +0x11b, 0x14027ab0b pop rsi ; +0x11c, 0x14027ab0c pop rbp ; +0x11d, 0x14027ab0d retn ; +0x11e, 0x14027ab0e