; ; GJRewardItem::create from 0x1401f4190 to 0x1401f425c (204 bytes) ; ; 20 xrefs: ; > GameStatsManager::createReward @ 0x1401e17a7 ; > GameStatsManager::storeRewardState @ 0x1401e193c ; > GameStatsManager::completedDailyLevel @ 0x1401e34d8 ; > GameStatsManager::createSpecialChestItems @ 0x1401e88b3 ; > GameStatsManager::createSpecialChestItems @ 0x1401e8a68 ; > GameStatsManager::createSpecialChestItems @ 0x1401e8c13 ; > GameStatsManager::createSpecialChestItems @ 0x1401e8d83 ; > GameStatsManager::createSpecialChestItems @ 0x1401e8f04 ; > GameStatsManager::createSpecialChestItems @ 0x1401e90b9 ; > GameStatsManager::createSpecialChestItems @ 0x1401e9264 ; > GameStatsManager::createSpecialChestItems @ 0x1401e9419 ; > GameStatsManager::createSpecialChestItems @ 0x1401e95c4 ; > GameStatsManager::createSpecialChestItems @ 0x1401e9779 ; > GameStatsManager::addSimpleSpecialChestReward @ 0x1401ea14f ; > GJRewardItem::create_1 @ 0x1401f3e7c ; > GJRewardItem::createWithObject @ 0x1401f3ed5 ; > GJRewardItem::createWithObjects @ 0x1401f3f58 ; > GJRewardItem::createSpecial @ 0x1401f4138 ; > GJObjectDecoder::getDecodedObject @ 0x1402842c9 ; > @ 0x1406cc774 ; ; 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, 0x1401f4190 mov [rsp+arg_18], rbp ; +0x5, 0x1401f4195 push rsi ; +0xa, 0x1401f419a push rdi ; +0xb, 0x1401f419b push r14 ; +0xc, 0x1401f419c sub rsp, 60h ; +0xe, 0x1401f419e mov rax, cs:__security_cookie ; +0x12, 0x1401f41a2 xor rax, rsp ; +0x19, 0x1401f41a9 mov [rsp+78h+var_28], rax ; +0x1c, 0x1401f41ac mov rbp, r8 ; +0x21, 0x1401f41b1 mov edi, edx ; +0x24, 0x1401f41b4 mov ebx, ecx ; +0x26, 0x1401f41b6 mov [rsp+78h+var_30], r8 ; +0x28, 0x1401f41b8 mov ecx, 58h ; 'X'; Size ; +0x2d, 0x1401f41bd call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x32, 0x1401f41c2 mov rsi, rax ; +0x37, 0x1401f41c7 mov [rsp+78h+var_58], rax ; +0x3a, 0x1401f41ca mov rcx, rax ; +0x3f, 0x1401f41cf call cs:??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x42, 0x1401f41d2 lea rax, ??_7GJRewardItem@@6B@; const GJRewardItem::`vftable' ; +0x48, 0x1401f41d8 mov [rsi], rax ; +0x4f, 0x1401f41df xor r14d, r14d ; +0x52, 0x1401f41e2 mov [rsi+38h], r14 ; +0x55, 0x1401f41e5 mov [rsi+40h], r14d ; +0x59, 0x1401f41e9 mov [rsi+48h], r14 ; +0x5d, 0x1401f41ed mov [rsi+50h], r14b ; +0x61, 0x1401f41f1 mov rdx, rbp ; +0x65, 0x1401f41f5 lea rcx, [rsp+78h+var_50] ; +0x68, 0x1401f41f8 call sub_14003BDB0 ; +0x6d, 0x1401f41fd mov r9, rax ; +0x72, 0x1401f4202 mov r8d, edi ; +0x75, 0x1401f4205 mov edx, ebx ; +0x78, 0x1401f4208 mov rcx, rsi ; +0x7a, 0x1401f420a call GJRewardItem__init ; +0x7d, 0x1401f420d mov rcx, rsi ; +0x82, 0x1401f4212 test al, al ; +0x85, 0x1401f4215 jz short loc_1401F4221 ; +0x87, 0x1401f4217 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x89, 0x1401f4219 jmp short loc_1401F422F ; +0x8f, 0x1401f421f mov rax, [rsi] ; +0x91, 0x1401f4221 mov edx, 1 ; +0x94, 0x1401f4224 call qword ptr [rax+8] ; +0x99, 0x1401f4229 mov rsi, r14 ; +0x9c, 0x1401f422c mov rcx, rbp ; +0x9f, 0x1401f422f call sub_14003A830 ; +0xa2, 0x1401f4232 mov rax, rsi ; +0xa7, 0x1401f4237 mov rcx, [rsp+78h+var_28] ; +0xaa, 0x1401f423a xor rcx, rsp; StackCookie ; +0xaf, 0x1401f423f call __security_check_cookie ; +0xb2, 0x1401f4242 lea r11, [rsp+78h+var_18] ; +0xb7, 0x1401f4247 mov rbx, [r11+20h] ; +0xbc, 0x1401f424c mov rbp, [r11+38h] ; +0xc0, 0x1401f4250 mov rsp, r11 ; +0xc4, 0x1401f4254 pop r14 ; +0xc7, 0x1401f4257 pop rdi ; +0xc9, 0x1401f4259 pop rsi ; +0xca, 0x1401f425a retn ; +0xcb, 0x1401f425b