// // RewardUnlockLayer::showCollectReward from 0x140564410 to 0x1405644c4 (180 bytes) // // 2 xrefs: // > RewardsPage::rewardsStatusFinished @ 0x140562e63 // > @ 0x14092c510 // // 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:34:16 +0000 // char __fastcall RewardUnlockLayer::showCollectReward(__int64 a1, __int64 a2) { cocos2d::CCObject *v4; // rcx bool v5; // zf if ( !a2 ) return 0; v4 = *(cocos2d::CCObject **)(a1 + 704); if ( v4 ) cocos2d::CCObject::release(v4); *(_QWORD *)(a1 + 704) = a2; cocos2d::CCObject::retain((cocos2d::CCObject *)a2); if ( *(_BYTE *)(a2 + 80) ) { if ( *(_DWORD *)(a2 + 64) != *(_DWORD *)(a1 + 696) ) return 0; } (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 720) + 336LL))(*(_QWORD *)(a1 + 720), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 720) + 936LL))(*(_QWORD *)(a1 + 720), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 712) + 336LL))(*(_QWORD *)(a1 + 712), 0); v5 = *(_BYTE *)(a1 + 701) == 0; *(_BYTE *)(a1 + 700) = 1; if ( !v5 ) RewardUnlockLayer::playRewardEffect(a1); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source