// // SecretLayer5::onlineRewardStatusFinished from 0x14058c2a0 to 0x14058c411 (369 bytes) // // 2 xrefs: // > @ 0x1407e3570 // > @ 0x14092cb70 // // 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:29 +0000 // // Hidden C++ exception states: #wind=6 void __fastcall SecretLayer5::onlineRewardStatusFinished(__int64 a1, void **a2) { __int64 v4; // rbp __int64 v5; // rcx __int64 v6; // rbx _QWORD *v7; // rbx __int64 v8; // rcx __int64 v9; // rdx void *v10; // rdx void *v11; // [rsp+20h] [rbp-68h] void *v12; // [rsp+28h] [rbp-60h] _BYTE v13[32]; // [rsp+38h] [rbp-50h] BYREF void **v14; // [rsp+58h] [rbp-30h] v14 = a2; v4 = sub_14003F4F0((__int64)v13, (__int64)a2); v5 = qword_14090BFE0; if ( !qword_14090BFE0 ) { v12 = operator new(0x3E8u); qword_14090BFE0 = sub_1402D6480((__int64)v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0); v5 = qword_14090BFE0; } v6 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(v5 + 368), v4); sub_14003D310(v4); if ( !v6 ) goto LABEL_13; v7 = (_QWORD *)sub_14003F4F0((__int64)v13, (__int64)a2); v8 = qword_14090BFE0; if ( !qword_14090BFE0 ) { v11 = operator new(0x3E8u); qword_14090BFE0 = sub_1402D6480((__int64)v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0); v8 = qword_14090BFE0; } if ( GameStatsManager::isSpecialChestUnlocked(v8, v7) ) { LABEL_13: (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 8LL))(a1); } else { *(_DWORD *)(a1 + 84) = 1; if ( (void **)(a1 + 88) != a2 ) { v10 = a2; if ( (unsigned __int64)a2[3] > 0xF ) v10 = *a2; sub_1400405A0((void **)(a1 + 88), v10, (size_t)a2[2]); } if ( !*(_BYTE *)(a1 + 80) ) SecretLayer5::handleSecretResponse(a1 - 432, v9); } sub_14003D310((__int64)a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source