; ; ChallengeNode::onClaimReward from 0x1400a0540 to 0x1400a06ef (431 bytes) ; ; 2 xrefs: ; > ChallengeNode::init @ 0x1400a02a1 ; > @ 0x14091307c ; ; 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:26:06 +0000 ; push rbx ; +0x0, 0x1400a0540 push rdi ; +0x2, 0x1400a0542 sub rsp, 0E8h ; +0x3, 0x1400a0543 mov rdi, rdx ; +0xa, 0x1400a054a mov rbx, rcx ; +0xd, 0x1400a054d mov rax, [rcx] ; +0x10, 0x1400a0550 call qword ptr [rax+0C8h] ; +0x13, 0x1400a0553 lea r8, [rbx+150h] ; +0x19, 0x1400a0559 lea rdx, [rsp+0F8h+arg_0] ; +0x20, 0x1400a0560 mov rcx, rax ; +0x28, 0x1400a0568 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x2b, 0x1400a056b lea r9, [rsp+0F8h+arg_0] ; +0x31, 0x1400a0571 mov r8, [rbx+148h] ; +0x39, 0x1400a0579 mov rcx, [rbx+140h] ; +0x40, 0x1400a0580 call ChallengesPage__claimItem ; +0x47, 0x1400a0587 lea rax, [rsp+0F8h+var_58] ; +0x4c, 0x1400a058c mov [rsp+0F8h+arg_8], rax ; +0x54, 0x1400a0594 xorps xmm0, xmm0 ; +0x5c, 0x1400a059c movups [rsp+0F8h+var_58], xmm0 ; +0x5f, 0x1400a059f mov [rsp+0F8h+var_48], 0Ah ; +0x67, 0x1400a05a7 mov [rsp+0F8h+var_40], 0Fh ; +0x73, 0x1400a05b3 movsd xmm0, cs:qword_14071BEC0 ; +0x7f, 0x1400a05bf movsd qword ptr [rsp+0F8h+var_58], xmm0 ; +0x87, 0x1400a05c7 movzx eax, cs:word_14071BEC8 ; +0x90, 0x1400a05d0 mov word ptr [rsp+0F8h+var_58+8], ax ; +0x97, 0x1400a05d7 mov byte ptr [rsp+0F8h+var_58+0Ah], 0 ; +0x9f, 0x1400a05df lea rax, [rsp+0F8h+var_58] ; +0xa7, 0x1400a05e7 mov [rsp+0F8h+arg_10], rax ; +0xaf, 0x1400a05ef mov rbx, cs:qword_14090BF60 ; +0xb7, 0x1400a05f7 test rbx, rbx ; +0xbe, 0x1400a05fe jnz short loc_1400A0638 ; +0xc1, 0x1400a0601 mov ecx, 8A8h; Size ; +0xc3, 0x1400a0603 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xc8, 0x1400a0608 mov [rsp+0F8h+arg_18], rax ; +0xcd, 0x1400a060d mov rcx, rax ; +0xd5, 0x1400a0615 call FMODAudioEngine__FMODAudioEngine ; +0xd8, 0x1400a0618 nop ; +0xdd, 0x1400a061d mov cs:qword_14090BF60, rax ; +0xde, 0x1400a061e mov rcx, [rax] ; +0xe5, 0x1400a0625 mov rdx, [rcx+48h] ; +0xe8, 0x1400a0628 mov rcx, rax ; +0xec, 0x1400a062c call rdx ; +0xef, 0x1400a062f mov rbx, cs:qword_14090BF60 ; +0xf1, 0x1400a0631 lea rdx, [rsp+0F8h+var_58] ; +0xf8, 0x1400a0638 lea rcx, [rsp+0F8h+var_38] ; +0x100, 0x1400a0640 call sub_14003F4F0 ; +0x108, 0x1400a0648 mov [rsp+0F8h+var_60], 0FFF0BDC1h ; +0x10d, 0x1400a064d xorps xmm3, xmm3 ; +0x118, 0x1400a0658 movss [rsp+0F8h+var_68], xmm3 ; +0x11b, 0x1400a065b xor ecx, ecx ; +0x124, 0x1400a0664 mov [rsp+0F8h+var_70], ecx ; +0x126, 0x1400a0666 mov [rsp+0F8h+var_78], ecx ; +0x12d, 0x1400a066d mov [rsp+0F8h+var_80], cl ; +0x134, 0x1400a0674 mov [rsp+0F8h+var_88], cl ; +0x138, 0x1400a0678 mov [rsp+0F8h+var_90], ecx ; +0x13c, 0x1400a067c mov [rsp+0F8h+var_98], cl ; +0x140, 0x1400a0680 mov [rsp+0F8h+var_A0], ecx ; +0x144, 0x1400a0684 mov [rsp+0F8h+var_A8], ecx ; +0x148, 0x1400a0688 mov [rsp+0F8h+var_B0], ecx ; +0x14c, 0x1400a068c mov [rsp+0F8h+var_B8], ecx ; +0x150, 0x1400a0690 mov [rsp+0F8h+var_C0], cl ; +0x154, 0x1400a0694 mov [rsp+0F8h+var_C8], cl ; +0x158, 0x1400a0698 movss [rsp+0F8h+var_D0], xmm3 ; +0x15c, 0x1400a069c movss xmm2, cs:flt_140835080 ; +0x162, 0x1400a06a2 movss [rsp+0F8h+var_D8], xmm2 ; +0x16a, 0x1400a06aa mov rdx, rax ; +0x170, 0x1400a06b0 mov rcx, rbx ; +0x173, 0x1400a06b3 call FMODAudioEngine__playEffectAdvanced ; +0x176, 0x1400a06b6 nop ; +0x17b, 0x1400a06bb lea rcx, [rsp+0F8h+var_58] ; +0x17c, 0x1400a06bc call sub_14003D310 ; +0x184, 0x1400a06c4 mov rax, [rdi] ; +0x189, 0x1400a06c9 xor edx, edx ; +0x18c, 0x1400a06cc mov rcx, rdi ; +0x18e, 0x1400a06ce call qword ptr [rax+150h] ; +0x191, 0x1400a06d1 mov rax, [rdi] ; +0x197, 0x1400a06d7 xor edx, edx ; +0x19a, 0x1400a06da mov rcx, rdi ; +0x19c, 0x1400a06dc add rsp, 0E8h ; +0x19f, 0x1400a06df pop rdi ; +0x1a6, 0x1400a06e6 pop rbx ; +0x1a7, 0x1400a06e7 jmp qword ptr [rax+3A8h] ; +0x1a8, 0x1400a06e8