; ; GJGarageLayer::dialogClosed from 0x140278700 to 0x1402788d0 (464 bytes) ; ; 2 xrefs: ; > @ 0x14056a300 ; > @ 0x1406d1004 ; ; 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, 0x140278700 push rsi ; +0x2, 0x140278702 push rdi ; +0x3, 0x140278703 sub rsp, 80h ; +0x4, 0x140278704 movaps [rsp+98h+var_28], xmm6 ; +0xb, 0x14027870b mov rbx, rcx ; +0x10, 0x140278710 mov rcx, cs:qword_1406C2ED8 ; +0x13, 0x140278713 test rcx, rcx ; +0x1a, 0x14027871a jnz short loc_140278751 ; +0x1d, 0x14027871d mov ecx, 668h; Size ; +0x1f, 0x14027871f call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x24, 0x140278724 mov [rsp+98h+arg_10], rax ; +0x29, 0x140278729 mov rcx, rax ; +0x31, 0x140278731 call sub_14017AB00 ; +0x34, 0x140278734 nop ; +0x39, 0x140278739 mov cs:qword_1406C2ED8, rax ; +0x3a, 0x14027873a mov rdx, [rax] ; +0x41, 0x140278741 mov rcx, rax ; +0x44, 0x140278744 call qword ptr [rdx+48h] ; +0x47, 0x140278747 mov rcx, cs:qword_1406C2ED8 ; +0x4a, 0x14027874a mov r8d, 64h ; 'd' ; +0x51, 0x140278751 lea rdx, aGeometryAchRat; "geometry.ach.rate" ; +0x57, 0x140278757 call GameManager__reportAchievementWithID ; +0x5e, 0x14027875e mov rax, cs:qword_1406C2ED8 ; +0x63, 0x140278763 test rax, rax ; +0x6a, 0x14027876a jnz short loc_1402787A1 ; +0x6d, 0x14027876d mov ecx, 668h; Size ; +0x6f, 0x14027876f call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x74, 0x140278774 mov [rsp+98h+arg_10], rax ; +0x79, 0x140278779 mov rcx, rax ; +0x81, 0x140278781 call sub_14017AB00 ; +0x84, 0x140278784 nop ; +0x89, 0x140278789 mov cs:qword_1406C2ED8, rax ; +0x8a, 0x14027878a mov rdx, [rax] ; +0x91, 0x140278791 mov rcx, rax ; +0x94, 0x140278794 call qword ptr [rdx+48h] ; +0x97, 0x140278797 mov rax, cs:qword_1406C2ED8 ; +0x9a, 0x14027879a mov byte ptr [rax+2A4h], 1 ; +0xa1, 0x1402787a1 mov byte ptr [rax+3ECh], 1 ; +0xa8, 0x1402787a8 lea rcx, [rbx-10h] ; +0xaf, 0x1402787af mov rax, [rcx] ; +0xb3, 0x1402787b3 call qword ptr [rax] ; +0xb6, 0x1402787b6 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xb8, 0x1402787b8 mov rcx, rax ; +0xbe, 0x1402787be lea rdx, [rsp+98h+arg_0] ; +0xc1, 0x1402787c1 call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0xc9, 0x1402787c9 movss xmm2, [rsp+98h+arg_4] ; +0xcf, 0x1402787cf movss xmm6, cs:dword_140622B08 ; +0xd8, 0x1402787d8 mulss xmm2, xmm6 ; +0xe0, 0x1402787e0 movss xmm1, [rsp+98h+arg_0] ; +0xe4, 0x1402787e4 mulss xmm1, xmm6 ; +0xed, 0x1402787ed lea rcx, [rsp+98h+arg_10] ; +0xf1, 0x1402787f1 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xf9, 0x1402787f9 movss xmm0, cs:flt_140622C24 ; +0xff, 0x1402787ff movss [rsp+98h+var_40], xmm0 ; +0x107, 0x140278807 xorps xmm1, xmm1 ; +0x10d, 0x14027880d movss [rsp+98h+var_48], xmm1 ; +0x110, 0x140278810 xor ecx, ecx ; +0x116, 0x140278816 mov [rsp+98h+var_50], ecx ; +0x118, 0x140278818 mov [rsp+98h+var_58], rax ; +0x11c, 0x14027881c mov [rsp+98h+var_60], ecx ; +0x121, 0x140278821 mov [rsp+98h+var_68], ecx ; +0x125, 0x140278825 mov [rsp+98h+var_70], ecx ; +0x129, 0x140278829 mov dword ptr [rsp+98h+var_78], ecx ; +0x12d, 0x14027882d xor r9d, r9d ; +0x131, 0x140278831 xor r8d, r8d ; +0x134, 0x140278834 xor edx, edx ; +0x137, 0x140278837 call CurrencyRewardLayer__create ; +0x139, 0x140278839 mov rsi, rax ; +0x13e, 0x14027883e lea rcx, [rbx-1B8h] ; +0x141, 0x140278841 mov r9, [rcx] ; +0x148, 0x140278848 mov r8d, 64h ; 'd' ; +0x14b, 0x14027884b mov rdx, rax ; +0x151, 0x140278851 call qword ptr [r9+1B8h] ; +0x154, 0x140278854 movss xmm2, [rsp+98h+arg_4] ; +0x15b, 0x14027885b mulss xmm2, xmm6 ; +0x164, 0x140278864 movss xmm1, [rsp+98h+arg_0] ; +0x168, 0x140278868 mulss xmm1, xmm6 ; +0x171, 0x140278871 lea rcx, [rsp+98h+arg_18] ; +0x175, 0x140278875 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x17d, 0x14027887d mov rbx, rax ; +0x183, 0x140278883 mov edx, 0Dh ; +0x186, 0x140278886 lea ecx, [rdx-0Ch] ; +0x18b, 0x14027888b call GJItemIcon__createBrowserItem ; +0x18e, 0x14027888e mov rdi, rax ; +0x193, 0x140278893 mov rdx, rbx ; +0x196, 0x140278896 lea rcx, [rsp+98h+var_38] ; +0x199, 0x140278899 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x19e, 0x14027889e movss [rsp+98h+var_70], xmm6 ; +0x1a4, 0x1402788a4 mov [rsp+98h+var_78], rax ; +0x1aa, 0x1402788aa mov r9, rdi ; +0x1af, 0x1402788af xor edx, edx ; +0x1b2, 0x1402788b2 lea r8d, [rdx+1] ; +0x1b4, 0x1402788b4 mov rcx, rsi ; +0x1b8, 0x1402788b8 call CurrencyRewardLayer__createObjectsFull ; +0x1bb, 0x1402788bb movaps xmm6, [rsp+98h+var_28] ; +0x1c0, 0x1402788c0 add rsp, 80h ; +0x1c5, 0x1402788c5 pop rdi ; +0x1cc, 0x1402788cc pop rsi ; +0x1cd, 0x1402788cd pop rbx ; +0x1ce, 0x1402788ce retn ; +0x1cf, 0x1402788cf