; ; EnhancedGameObject::updateUserCoin from 0x1401a68f0 to 0x1401a6a6b (379 bytes) ; ; 3 xrefs: ; > GameObject::objectFromVector @ 0x14019e4a1 ; > PlayLayer::createObjectsFromSetupFinished @ 0x1403ad967 ; > @ 0x1406cc0b4 ; ; 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, 0x1401a68f0 push rdi ; +0x5, 0x1401a68f5 sub rsp, 50h ; +0x6, 0x1401a68f6 mov rax, cs:__security_cookie ; +0xa, 0x1401a68fa xor rax, rsp ; +0x11, 0x1401a6901 mov [rsp+58h+var_18], rax ; +0x14, 0x1401a6904 mov rbx, rcx ; +0x19, 0x1401a6909 cmp byte ptr [rcx+28Dh], 0 ; +0x1c, 0x1401a690c jnz loc_1401A6A53 ; +0x23, 0x1401a6913 mov rcx, cs:qword_1406C2ED8 ; +0x29, 0x1401a6919 test rcx, rcx ; +0x30, 0x1401a6920 jnz short loc_1401A6954 ; +0x33, 0x1401a6923 mov ecx, 668h; Size ; +0x35, 0x1401a6925 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x3a, 0x1401a692a mov [rsp+58h+var_28], rax ; +0x3f, 0x1401a692f mov rcx, rax ; +0x44, 0x1401a6934 call sub_14017AB00 ; +0x47, 0x1401a6937 nop ; +0x4c, 0x1401a693c mov cs:qword_1406C2ED8, rax ; +0x4d, 0x1401a693d mov rdx, [rax] ; +0x54, 0x1401a6944 mov rcx, rax ; +0x57, 0x1401a6947 call qword ptr [rdx+48h] ; +0x5a, 0x1401a694a mov rcx, cs:qword_1406C2ED8 ; +0x5d, 0x1401a694d mov rdx, rbx ; +0x64, 0x1401a6954 mov rcx, [rcx+208h] ; +0x67, 0x1401a6957 call GJBaseGameLayer__hasUniqueCoin ; +0x6e, 0x1401a695e mov [rbx+5B6h], al ; +0x73, 0x1401a6963 test al, al ; +0x79, 0x1401a6969 jnz loc_1401A6A53 ; +0x7b, 0x1401a696b mov [rsp+58h+var_38], 2 ; +0x81, 0x1401a6971 xor r9d, r9d ; +0x89, 0x1401a6979 lea r8, aCoineffectPlis; "coinEffect.plist" ; +0x8c, 0x1401a697c mov edx, [rbx+3A0h] ; +0x93, 0x1401a6983 mov rcx, rbx ; +0x99, 0x1401a6989 call GameObject__createAndAddParticle ; +0x9c, 0x1401a698c mov rdi, rax ; +0xa1, 0x1401a6991 test rax, rax ; +0xa4, 0x1401a6994 jz loc_1401A6A2D ; +0xa7, 0x1401a6997 cmp dword ptr [rbx+40Ch], 8Eh ; +0xad, 0x1401a699d jz loc_1401A6A2D ; +0xb7, 0x1401a69a7 mov rdx, [rax] ; +0xbd, 0x1401a69ad mov rcx, rax ; +0xc0, 0x1401a69b0 call qword ptr [rdx+530h] ; +0xc3, 0x1401a69b3 movss xmm1, dword ptr [rax+0Ch] ; +0xc9, 0x1401a69b9 mov dword ptr [rsp+58h+var_28], 3F800000h ; +0xce, 0x1401a69be mov dword ptr [rsp+58h+var_28+4], 3F800000h ; +0xd6, 0x1401a69c6 mov [rsp+58h+var_20], 3F800000h ; +0xde, 0x1401a69ce movss [rsp+58h+var_1C], xmm1 ; +0xe6, 0x1401a69d6 mov rax, [rdi] ; +0xec, 0x1401a69dc lea rdx, [rsp+58h+var_28] ; +0xef, 0x1401a69df mov rcx, rdi ; +0xf4, 0x1401a69e4 call qword ptr [rax+538h] ; +0xf7, 0x1401a69e7 mov rax, [rdi] ; +0xfd, 0x1401a69ed mov rcx, rdi ; +0x100, 0x1401a69f0 call qword ptr [rax+550h] ; +0x103, 0x1401a69f3 movss xmm1, dword ptr [rax+0Ch] ; +0x109, 0x1401a69f9 mov dword ptr [rsp+58h+var_28], 3F000000h ; +0x10e, 0x1401a69fe mov dword ptr [rsp+58h+var_28+4], 3F000000h ; +0x116, 0x1401a6a06 mov [rsp+58h+var_20], 3F000000h ; +0x11e, 0x1401a6a0e movss [rsp+58h+var_1C], xmm1 ; +0x126, 0x1401a6a16 mov rax, [rdi] ; +0x12c, 0x1401a6a1c lea rdx, [rsp+58h+var_28] ; +0x12f, 0x1401a6a1f mov rcx, rdi ; +0x134, 0x1401a6a24 call qword ptr [rax+558h] ; +0x137, 0x1401a6a27 movss xmm2, cs:dword_140623894 ; +0x13d, 0x1401a6a2d xorps xmm1, xmm1 ; +0x145, 0x1401a6a35 lea rcx, [rsp+58h+var_28] ; +0x148, 0x1401a6a38 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x14d, 0x1401a6a3d mov rdx, rax ; +0x153, 0x1401a6a43 lea rcx, [rbx+334h] ; +0x156, 0x1401a6a46 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x15d, 0x1401a6a4d mov rcx, [rsp+58h+var_18] ; +0x163, 0x1401a6a53 xor rcx, rsp; StackCookie ; +0x168, 0x1401a6a58 call __security_check_cookie ; +0x16b, 0x1401a6a5b mov rbx, [rsp+58h+arg_8] ; +0x170, 0x1401a6a60 add rsp, 50h ; +0x175, 0x1401a6a65 pop rdi ; +0x179, 0x1401a6a69 retn ; +0x17a, 0x1401a6a6a