; ; CurrencyRewardLayer::create from 0x140139bb0 to 0x140139df9 (585 bytes) ; ; 8 xrefs: ; > ChallengesPage::claimItem @ 0x14009f31d ; > DailyLevelPage::claimLevelReward @ 0x140172785 ; > EndLevelLayer::playEndEffect @ 0x140208088 ; > GJGarageLayer::dialogClosed @ 0x14038117e ; > LevelListLayer::onClaimReward @ 0x14042e1b3 ; > PlayLayer::showNewBest @ 0x140509e5b ; > RewardUnlockLayer::playRewardEffect @ 0x14056511f ; > @ 0x140917264 ; ; 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:27:06 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140139bb0 mov [rsp+arg_8], rbp ; +0x5, 0x140139bb5 mov [rsp+arg_10], rsi ; +0xa, 0x140139bba push rdi ; +0xf, 0x140139bbf push r14 ; +0x10, 0x140139bc0 push r15 ; +0x12, 0x140139bc2 sub rsp, 80h ; +0x14, 0x140139bc4 mov ebx, r9d ; +0x1b, 0x140139bcb mov edi, r8d ; +0x1e, 0x140139bce mov esi, edx ; +0x21, 0x140139bd1 mov ebp, ecx ; +0x23, 0x140139bd3 mov ecx, 280h; Size ; +0x25, 0x140139bd5 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2a, 0x140139bda mov r14, rax ; +0x2f, 0x140139bdf mov [rsp+98h+var_28], rax ; +0x32, 0x140139be2 mov rcx, rax ; +0x37, 0x140139be7 call cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x3a, 0x140139bea nop ; +0x40, 0x140139bf0 lea rax, ??_7CurrencyRewardLayer@@6B@; const CurrencyRewardLayer::`vftable' ; +0x41, 0x140139bf1 mov [r14], rax ; +0x48, 0x140139bf8 lea rax, ??_7CurrencyRewardLayer@@6B@_0; const CurrencyRewardLayer::`vftable' ; +0x4b, 0x140139bfb mov [r14+140h], rax ; +0x52, 0x140139c02 lea rax, ??_7CurrencyRewardLayer@@6B@_1; const CurrencyRewardLayer::`vftable' ; +0x59, 0x140139c09 mov [r14+148h], rax ; +0x60, 0x140139c10 lea rax, ??_7CurrencyRewardLayer@@6B@_2; const CurrencyRewardLayer::`vftable' ; +0x67, 0x140139c17 mov [r14+150h], rax ; +0x6e, 0x140139c1e lea rax, ??_7CurrencyRewardLayer@@6B@_3; const CurrencyRewardLayer::`vftable' ; +0x75, 0x140139c25 mov [r14+158h], rax ; +0x7c, 0x140139c2c lea rax, ??_7CurrencyRewardLayer@@6B@_4; const CurrencyRewardLayer::`vftable' ; +0x83, 0x140139c33 mov [r14+160h], rax ; +0x8a, 0x140139c3a xor r15d, r15d ; +0x91, 0x140139c41 mov [r14+198h], r15 ; +0x94, 0x140139c44 mov [r14+1A0h], r15 ; +0x9b, 0x140139c4b mov [r14+1A8h], r15 ; +0xa2, 0x140139c52 mov [r14+1B0h], r15 ; +0xa9, 0x140139c59 mov [r14+1C0h], r15 ; +0xb0, 0x140139c60 mov [r14+1C8h], r15 ; +0xb7, 0x140139c67 mov [r14+1D0h], r15 ; +0xbe, 0x140139c6e mov [r14+1D8h], r15 ; +0xc5, 0x140139c75 mov [r14+1E0h], r15 ; +0xcc, 0x140139c7c mov [r14+1F0h], r15 ; +0xd3, 0x140139c83 mov [r14+1F8h], r15 ; +0xda, 0x140139c8a mov [r14+200h], r15 ; +0xe1, 0x140139c91 mov [r14+208h], r15 ; +0xe8, 0x140139c98 mov [r14+210h], r15 ; +0xef, 0x140139c9f mov [r14+218h], r15 ; +0xf6, 0x140139ca6 mov [r14+220h], r15 ; +0xfd, 0x140139cad mov [r14+228h], r15 ; +0x104, 0x140139cb4 mov [r14+230h], r15 ; +0x10b, 0x140139cbb mov dword ptr [r14+238h], 3F800000h ; +0x112, 0x140139cc2 lea rcx, [r14+23Ch] ; +0x11d, 0x140139ccd call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x124, 0x140139cd4 lea rcx, [r14+244h] ; +0x12a, 0x140139cda call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x131, 0x140139ce1 lea rcx, [r14+24Ch] ; +0x137, 0x140139ce7 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x13e, 0x140139cee lea rcx, [r14+254h] ; +0x144, 0x140139cf4 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x14b, 0x140139cfb lea rcx, [r14+25Ch] ; +0x151, 0x140139d01 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x158, 0x140139d08 lea rcx, [r14+264h] ; +0x15e, 0x140139d0e call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x165, 0x140139d15 mov [r14+26Ch], r15w ; +0x16b, 0x140139d1b mov [r14+270h], r15 ; +0x173, 0x140139d23 mov [r14+278h], r15 ; +0x17a, 0x140139d2a mov rdx, [rsp+98h+arg_40] ; +0x181, 0x140139d31 lea rcx, [rsp+98h+var_28] ; +0x189, 0x140139d39 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x18e, 0x140139d3e mov rcx, rax ; +0x194, 0x140139d44 movss xmm0, [rsp+98h+arg_58] ; +0x197, 0x140139d47 movss [rsp+98h+var_38], xmm0 ; +0x1a0, 0x140139d50 movss xmm1, [rsp+98h+arg_50] ; +0x1a6, 0x140139d56 movss [rsp+98h+var_40], xmm1 ; +0x1af, 0x140139d5f mov eax, [rsp+98h+arg_48] ; +0x1b5, 0x140139d65 mov [rsp+98h+var_48], eax ; +0x1bc, 0x140139d6c mov [rsp+98h+var_50], rcx ; +0x1c0, 0x140139d70 mov eax, [rsp+98h+arg_38] ; +0x1c5, 0x140139d75 mov [rsp+98h+var_58], eax ; +0x1cc, 0x140139d7c mov eax, [rsp+98h+arg_30] ; +0x1d0, 0x140139d80 mov [rsp+98h+var_60], eax ; +0x1d7, 0x140139d87 mov eax, [rsp+98h+arg_28] ; +0x1db, 0x140139d8b mov [rsp+98h+var_68], eax ; +0x1e2, 0x140139d92 mov ecx, [rsp+98h+arg_20] ; +0x1e6, 0x140139d96 mov [rsp+98h+var_70], ecx ; +0x1ed, 0x140139d9d mov [rsp+98h+var_78], ebx ; +0x1f1, 0x140139da1 mov r9d, edi ; +0x1f5, 0x140139da5 mov r8d, esi ; +0x1f8, 0x140139da8 mov edx, ebp ; +0x1fb, 0x140139dab mov rcx, r14 ; +0x1fd, 0x140139dad call CurrencyRewardLayer__init ; +0x200, 0x140139db0 test al, al ; +0x205, 0x140139db5 jz short loc_140139DC7 ; +0x207, 0x140139db7 mov rcx, r14 ; +0x209, 0x140139db9 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x20c, 0x140139dbc mov rax, r14 ; +0x212, 0x140139dc2 jmp short loc_140139DDC ; +0x215, 0x140139dc5 mov rcx, [r14] ; +0x217, 0x140139dc7 mov r8, [rcx+8] ; +0x21a, 0x140139dca mov edx, 1 ; +0x21e, 0x140139dce mov rcx, r14 ; +0x223, 0x140139dd3 call r8 ; +0x226, 0x140139dd6 mov rax, r15 ; +0x229, 0x140139dd9 lea r11, [rsp+98h+var_18] ; +0x22c, 0x140139ddc mov rbx, [r11+20h] ; +0x234, 0x140139de4 mov rbp, [r11+28h] ; +0x238, 0x140139de8 mov rsi, [r11+30h] ; +0x23c, 0x140139dec mov rsp, r11 ; +0x240, 0x140139df0 pop r15 ; +0x243, 0x140139df3 pop r14 ; +0x245, 0x140139df5 pop rdi ; +0x247, 0x140139df7 retn ; +0x248, 0x140139df8