; ; ChallengeNode::onClaimReward from 0x140087d80 to 0x140087e75 (245 bytes) ; ; 2 xrefs: ; > ChallengeNode::init @ 0x140087b23 ; > @ 0x1406c6cb4 ; ; 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_18], rbx ; +0x0, 0x140087d80 push rdi ; +0x5, 0x140087d85 sub rsp, 40h ; +0x6, 0x140087d86 mov rdi, rdx ; +0xa, 0x140087d8a mov rbx, rcx ; +0xd, 0x140087d8d mov rax, [rcx] ; +0x10, 0x140087d90 call qword ptr [rax+0C8h] ; +0x13, 0x140087d93 lea r8, [rbx+150h] ; +0x19, 0x140087d99 lea rdx, [rsp+48h+arg_0] ; +0x20, 0x140087da0 mov rcx, rax ; +0x25, 0x140087da5 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x28, 0x140087da8 lea r9, [rsp+48h+arg_0] ; +0x2e, 0x140087dae mov r8, [rbx+148h] ; +0x33, 0x140087db3 mov rcx, [rbx+140h] ; +0x3a, 0x140087dba call ChallengesPage__claimItem ; +0x41, 0x140087dc1 lea rax, [rsp+48h+var_28] ; +0x46, 0x140087dc6 mov [rsp+48h+arg_8], rax ; +0x4b, 0x140087dcb xorps xmm0, xmm0 ; +0x50, 0x140087dd0 movups [rsp+48h+var_28], xmm0 ; +0x53, 0x140087dd3 mov [rsp+48h+var_18], 0Ah ; +0x58, 0x140087dd8 mov [rsp+48h+var_10], 0Fh ; +0x61, 0x140087de1 movsd xmm0, cs:qword_14053DD70 ; +0x6a, 0x140087dea movsd qword ptr [rsp+48h+var_28], xmm0 ; +0x72, 0x140087df2 movzx eax, cs:word_14053DD78 ; +0x78, 0x140087df8 mov word ptr [rsp+48h+var_28+8], ax ; +0x7f, 0x140087dff mov byte ptr [rsp+48h+var_28+0Ah], 0 ; +0x84, 0x140087e04 mov rcx, cs:qword_1406C2E88 ; +0x89, 0x140087e09 test rcx, rcx ; +0x90, 0x140087e10 jnz short loc_140087E44 ; +0x93, 0x140087e13 mov ecx, 888h; Size ; +0x95, 0x140087e15 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x9a, 0x140087e1a mov [rsp+48h+arg_10], rax ; +0x9f, 0x140087e1f mov rcx, rax ; +0xa4, 0x140087e24 call FMODAudioEngine__FMODAudioEngine ; +0xa7, 0x140087e27 nop ; +0xac, 0x140087e2c mov cs:qword_1406C2E88, rax ; +0xad, 0x140087e2d mov rdx, [rax] ; +0xb4, 0x140087e34 mov rcx, rax ; +0xb7, 0x140087e37 call qword ptr [rdx+48h] ; +0xba, 0x140087e3a mov rcx, cs:qword_1406C2E88 ; +0xbd, 0x140087e3d lea rdx, [rsp+48h+var_28] ; +0xc4, 0x140087e44 call FMODAudioEngine__playEffect_1 ; +0xc9, 0x140087e49 mov rax, [rdi] ; +0xce, 0x140087e4e xor edx, edx ; +0xd1, 0x140087e51 mov rcx, rdi ; +0xd3, 0x140087e53 call qword ptr [rax+140h] ; +0xd6, 0x140087e56 mov rax, [rdi] ; +0xdc, 0x140087e5c xor edx, edx ; +0xdf, 0x140087e5f mov rcx, rdi ; +0xe1, 0x140087e61 mov rbx, [rsp+48h+arg_18] ; +0xe4, 0x140087e64 add rsp, 40h ; +0xe9, 0x140087e69 pop rdi ; +0xed, 0x140087e6d jmp qword ptr [rax+398h] ; +0xee, 0x140087e6e