; ; CurrencyRewardLayer::create from 0x14009fc10 to 0x14009fe53 (579 bytes) ; ; 8 xrefs: ; > ChallengesPage::claimItem @ 0x140086c30 ; > DailyLevelPage::claimLevelReward @ 0x1400d1cca ; > EndLevelLayer::playEndEffect @ 0x140136d3b ; > GJGarageLayer::dialogClosed @ 0x140278839 ; > LevelListLayer::onClaimReward @ 0x140306342 ; > PlayLayer::showNewBest @ 0x1403ab5af ; > RewardUnlockLayer::playRewardEffect @ 0x1403cf7c3 ; > @ 0x1406c76a4 ; ; 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_0], rbx ; +0x0, 0x14009fc10 mov [rsp+arg_8], rbp ; +0x5, 0x14009fc15 mov [rsp+arg_10], rsi ; +0xa, 0x14009fc1a push rdi ; +0xf, 0x14009fc1f push r14 ; +0x10, 0x14009fc20 push r15 ; +0x12, 0x14009fc22 sub rsp, 80h ; +0x14, 0x14009fc24 mov ebx, r9d ; +0x1b, 0x14009fc2b mov edi, r8d ; +0x1e, 0x14009fc2e mov esi, edx ; +0x21, 0x14009fc31 mov ebp, ecx ; +0x23, 0x14009fc33 mov ecx, 280h; Size ; +0x25, 0x14009fc35 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2a, 0x14009fc3a mov r14, rax ; +0x2f, 0x14009fc3f mov [rsp+98h+var_28], rax ; +0x32, 0x14009fc42 mov rcx, rax ; +0x37, 0x14009fc47 call cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x3a, 0x14009fc4a nop ; +0x40, 0x14009fc50 lea rax, ??_7CurrencyRewardLayer@@6B@; const CurrencyRewardLayer::`vftable' ; +0x41, 0x14009fc51 mov [r14], rax ; +0x48, 0x14009fc58 lea rax, ??_7CurrencyRewardLayer@@6B@_0; const CurrencyRewardLayer::`vftable' ; +0x4b, 0x14009fc5b mov [r14+140h], rax ; +0x52, 0x14009fc62 lea rax, ??_7CurrencyRewardLayer@@6B@_1; const CurrencyRewardLayer::`vftable' ; +0x59, 0x14009fc69 mov [r14+148h], rax ; +0x60, 0x14009fc70 lea rax, ??_7CurrencyRewardLayer@@6B@_2; const CurrencyRewardLayer::`vftable' ; +0x67, 0x14009fc77 mov [r14+150h], rax ; +0x6e, 0x14009fc7e lea rax, ??_7CurrencyRewardLayer@@6B@_3; const CurrencyRewardLayer::`vftable' ; +0x75, 0x14009fc85 mov [r14+158h], rax ; +0x7c, 0x14009fc8c lea rax, ??_7CurrencyRewardLayer@@6B@_4; const CurrencyRewardLayer::`vftable' ; +0x83, 0x14009fc93 mov [r14+160h], rax ; +0x8a, 0x14009fc9a xor r15d, r15d ; +0x91, 0x14009fca1 mov [r14+198h], r15 ; +0x94, 0x14009fca4 mov [r14+1A0h], r15 ; +0x9b, 0x14009fcab mov [r14+1A8h], r15 ; +0xa2, 0x14009fcb2 mov [r14+1B0h], r15 ; +0xa9, 0x14009fcb9 mov [r14+1C0h], r15 ; +0xb0, 0x14009fcc0 mov [r14+1C8h], r15 ; +0xb7, 0x14009fcc7 mov [r14+1D0h], r15 ; +0xbe, 0x14009fcce mov [r14+1D8h], r15 ; +0xc5, 0x14009fcd5 mov [r14+1E0h], r15 ; +0xcc, 0x14009fcdc mov [r14+1F0h], r15 ; +0xd3, 0x14009fce3 mov [r14+1F8h], r15 ; +0xda, 0x14009fcea mov [r14+200h], r15 ; +0xe1, 0x14009fcf1 mov [r14+208h], r15 ; +0xe8, 0x14009fcf8 mov [r14+210h], r15 ; +0xef, 0x14009fcff mov [r14+218h], r15 ; +0xf6, 0x14009fd06 mov [r14+220h], r15 ; +0xfd, 0x14009fd0d mov [r14+228h], r15 ; +0x104, 0x14009fd14 mov [r14+230h], r15 ; +0x10b, 0x14009fd1b mov dword ptr [r14+238h], 3F800000h ; +0x112, 0x14009fd22 lea rcx, [r14+23Ch] ; +0x11d, 0x14009fd2d call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x124, 0x14009fd34 lea rcx, [r14+244h] ; +0x12a, 0x14009fd3a call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x131, 0x14009fd41 lea rcx, [r14+24Ch] ; +0x137, 0x14009fd47 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x13e, 0x14009fd4e lea rcx, [r14+254h] ; +0x144, 0x14009fd54 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x14b, 0x14009fd5b lea rcx, [r14+25Ch] ; +0x151, 0x14009fd61 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x158, 0x14009fd68 lea rcx, [r14+264h] ; +0x15e, 0x14009fd6e call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x165, 0x14009fd75 mov [r14+26Ch], r15w ; +0x16b, 0x14009fd7b mov [r14+270h], r15 ; +0x173, 0x14009fd83 mov [r14+278h], r15 ; +0x17a, 0x14009fd8a mov rdx, qword ptr [rsp+98h+arg_40.x] ; +0x181, 0x14009fd91 lea rcx, [rsp+98h+var_28] ; +0x189, 0x14009fd99 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x18e, 0x14009fd9e mov rcx, rax ; +0x194, 0x14009fda4 movss xmm0, [rsp+98h+arg_58] ; +0x197, 0x14009fda7 movss [rsp+98h+var_38], xmm0 ; +0x1a0, 0x14009fdb0 movss xmm1, [rsp+98h+arg_50] ; +0x1a6, 0x14009fdb6 movss [rsp+98h+var_40], xmm1 ; +0x1af, 0x14009fdbf mov eax, [rsp+98h+arg_48] ; +0x1b5, 0x14009fdc5 mov [rsp+98h+var_48], eax ; +0x1bc, 0x14009fdcc mov [rsp+98h+var_50], rcx ; +0x1c0, 0x14009fdd0 mov eax, [rsp+98h+arg_38] ; +0x1c5, 0x14009fdd5 mov [rsp+98h+var_58], eax ; +0x1cc, 0x14009fddc mov eax, [rsp+98h+arg_30] ; +0x1d0, 0x14009fde0 mov [rsp+98h+var_60], eax ; +0x1d7, 0x14009fde7 mov eax, [rsp+98h+arg_28] ; +0x1db, 0x14009fdeb mov [rsp+98h+var_68], eax ; +0x1e2, 0x14009fdf2 mov ecx, [rsp+98h+arg_20] ; +0x1e6, 0x14009fdf6 mov [rsp+98h+var_70], ecx ; +0x1ed, 0x14009fdfd mov [rsp+98h+var_78], ebx ; +0x1f1, 0x14009fe01 mov r9d, edi ; +0x1f5, 0x14009fe05 mov r8d, esi ; +0x1f8, 0x14009fe08 mov edx, ebp ; +0x1fb, 0x14009fe0b mov rcx, r14 ; +0x1fd, 0x14009fe0d call CurrencyRewardLayer__init ; +0x200, 0x14009fe10 mov rcx, r14 ; +0x205, 0x14009fe15 test al, al ; +0x208, 0x14009fe18 jz short loc_14009FE27 ; +0x20a, 0x14009fe1a call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x20c, 0x14009fe1c mov rax, r14 ; +0x212, 0x14009fe22 jmp short loc_14009FE36 ; +0x215, 0x14009fe25 mov r8, [r14] ; +0x217, 0x14009fe27 mov edx, 1 ; +0x21a, 0x14009fe2a call qword ptr [r8+8] ; +0x21f, 0x14009fe2f mov rax, r15 ; +0x223, 0x14009fe33 lea r11, [rsp+98h+var_18] ; +0x226, 0x14009fe36 mov rbx, [r11+20h] ; +0x22e, 0x14009fe3e mov rbp, [r11+28h] ; +0x232, 0x14009fe42 mov rsi, [r11+30h] ; +0x236, 0x14009fe46 mov rsp, r11 ; +0x23a, 0x14009fe4a pop r15 ; +0x23d, 0x14009fe4d pop r14 ; +0x23f, 0x14009fe4f pop rdi ; +0x241, 0x14009fe51 retn ; +0x242, 0x14009fe52