; ; EnhancedGameObject::updateUserCoin from 0x1402a3970 to 0x1402a3af1 (385 bytes) ; ; 3 xrefs: ; > GameObject::objectFromVector @ 0x14029b6eb ; > PlayLayer::createObjectsFromSetupFinished @ 0x14050c28f ; > @ 0x14091da14 ; ; 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:29:16 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1402a3970 push rdi ; +0x5, 0x1402a3975 sub rsp, 50h ; +0x6, 0x1402a3976 mov rax, cs:__security_cookie ; +0xa, 0x1402a397a xor rax, rsp ; +0x11, 0x1402a3981 mov [rsp+58h+var_18], rax ; +0x14, 0x1402a3984 mov rbx, rcx ; +0x19, 0x1402a3989 cmp byte ptr [rcx+28Dh], 0 ; +0x1c, 0x1402a398c jnz loc_1402A3AD9 ; +0x23, 0x1402a3993 mov rcx, cs:qword_14090BFD0 ; +0x29, 0x1402a3999 test rcx, rcx ; +0x30, 0x1402a39a0 jnz short loc_1402A39D7 ; +0x33, 0x1402a39a3 mov ecx, 6E8h; Size ; +0x35, 0x1402a39a5 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x3a, 0x1402a39aa mov [rsp+58h+var_28], rax ; +0x3f, 0x1402a39af mov rcx, rax ; +0x44, 0x1402a39b4 call GameManager__GameManager ; +0x47, 0x1402a39b7 nop ; +0x4c, 0x1402a39bc mov cs:qword_14090BFD0, rax ; +0x4d, 0x1402a39bd mov rcx, [rax] ; +0x54, 0x1402a39c4 mov rdx, [rcx+48h] ; +0x57, 0x1402a39c7 mov rcx, rax ; +0x5b, 0x1402a39cb call rdx ; +0x5e, 0x1402a39ce mov rcx, cs:qword_14090BFD0 ; +0x60, 0x1402a39d0 mov rdx, rbx ; +0x67, 0x1402a39d7 mov rcx, [rcx+230h] ; +0x6a, 0x1402a39da call GJBaseGameLayer__hasUniqueCoin ; +0x71, 0x1402a39e1 mov [rbx+5B6h], al ; +0x76, 0x1402a39e6 test al, al ; +0x7c, 0x1402a39ec jnz loc_1402A3AD9 ; +0x7e, 0x1402a39ee mov [rsp+58h+var_38], 2 ; +0x84, 0x1402a39f4 xor r9d, r9d ; +0x8c, 0x1402a39fc lea r8, aCoineffectPlis; "coinEffect.plist" ; +0x8f, 0x1402a39ff mov edx, [rbx+3A0h] ; +0x96, 0x1402a3a06 mov rcx, rbx ; +0x9c, 0x1402a3a0c call GameObject__createAndAddParticle ; +0x9f, 0x1402a3a0f mov rdi, rax ; +0xa4, 0x1402a3a14 test rax, rax ; +0xa7, 0x1402a3a17 jz loc_1402A3AB3 ; +0xaa, 0x1402a3a1a cmp dword ptr [rbx+40Ch], 8Eh ; +0xb0, 0x1402a3a20 jz loc_1402A3AB3 ; +0xba, 0x1402a3a2a mov rcx, [rax] ; +0xc0, 0x1402a3a30 mov rdx, [rcx+540h] ; +0xc3, 0x1402a3a33 mov rcx, rax ; +0xca, 0x1402a3a3a call rdx ; +0xcd, 0x1402a3a3d movss xmm1, dword ptr [rax+0Ch] ; +0xcf, 0x1402a3a3f mov dword ptr [rsp+58h+var_28], 3F800000h ; +0xd4, 0x1402a3a44 mov dword ptr [rsp+58h+var_28+4], 3F800000h ; +0xdc, 0x1402a3a4c mov [rsp+58h+var_20], 3F800000h ; +0xe4, 0x1402a3a54 movss [rsp+58h+var_1C], xmm1 ; +0xec, 0x1402a3a5c mov rax, [rdi] ; +0xf2, 0x1402a3a62 lea rdx, [rsp+58h+var_28] ; +0xf5, 0x1402a3a65 mov rcx, rdi ; +0xfa, 0x1402a3a6a call qword ptr [rax+548h] ; +0xfd, 0x1402a3a6d mov rax, [rdi] ; +0x103, 0x1402a3a73 mov rcx, rdi ; +0x106, 0x1402a3a76 call qword ptr [rax+560h] ; +0x109, 0x1402a3a79 movss xmm1, dword ptr [rax+0Ch] ; +0x10f, 0x1402a3a7f mov dword ptr [rsp+58h+var_28], 3F000000h ; +0x114, 0x1402a3a84 mov dword ptr [rsp+58h+var_28+4], 3F000000h ; +0x11c, 0x1402a3a8c mov [rsp+58h+var_20], 3F000000h ; +0x124, 0x1402a3a94 movss [rsp+58h+var_1C], xmm1 ; +0x12c, 0x1402a3a9c mov rax, [rdi] ; +0x132, 0x1402a3aa2 lea rdx, [rsp+58h+var_28] ; +0x135, 0x1402a3aa5 mov rcx, rdi ; +0x13a, 0x1402a3aaa call qword ptr [rax+568h] ; +0x13d, 0x1402a3aad movss xmm2, cs:dword_140835E40 ; +0x143, 0x1402a3ab3 xorps xmm1, xmm1 ; +0x14b, 0x1402a3abb lea rcx, [rsp+58h+var_28] ; +0x14e, 0x1402a3abe call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x153, 0x1402a3ac3 mov rdx, rax ; +0x159, 0x1402a3ac9 lea rcx, [rbx+334h] ; +0x15c, 0x1402a3acc call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x163, 0x1402a3ad3 mov rcx, [rsp+58h+var_18] ; +0x169, 0x1402a3ad9 xor rcx, rsp; StackCookie ; +0x16e, 0x1402a3ade call __security_check_cookie ; +0x171, 0x1402a3ae1 mov rbx, [rsp+58h+arg_8] ; +0x176, 0x1402a3ae6 add rsp, 50h ; +0x17b, 0x1402a3aeb pop rdi ; +0x17f, 0x1402a3aef retn ; +0x180, 0x1402a3af0