// // SecretLayer5::onlineRewardStatusFinished from 0x10007f324 to 0x10007f440 (284 bytes) // // 2 xrefs: // > sub_10007F474 @ 0x10007f478 // > @ 0x1008c6740 // // This function is hookable on this platform (idp: arm, 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 10:58:16 +0000 // std::string *__fastcall SecretLayer5::onlineRewardStatusFinished(__int64 a1, __int64 a2) { __int64 v4; // x21 __int64 v5; // x0 __int64 v6; // x21 __int64 v7; // x21 char isSpecialChestUnlocked; // w0 char v9; // w21 std::string *result; // x0 void *v11[2]; // [xsp+0h] [xbp-60h] BYREF __int64 v12; // [xsp+10h] [xbp-50h] void *__p[2]; // [xsp+20h] [xbp-40h] BYREF __int64 v14; // [xsp+30h] [xbp-30h] v4 = GameStatsManager::sharedState(a1); if ( *(char *)(a2 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a2; v14 = *(_QWORD *)(a2 + 16); } v5 = sub_1003D4D88(v4, __p); v6 = v5; if ( SHIBYTE(v14) < 0 ) { operator delete(__p[0]); if ( !v6 ) return (std::string *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1200LL))(a1); } else if ( !v5 ) { return (std::string *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1200LL))(a1); } v7 = GameStatsManager::sharedState(v5); if ( *(char *)(a2 + 23) < 0 ) { sub_1000097D0(v11, *(void **)a2, *(_QWORD *)(a2 + 8)); } else { *(_OWORD *)v11 = *(_OWORD *)a2; v12 = *(_QWORD *)(a2 + 16); } isSpecialChestUnlocked = GameStatsManager::isSpecialChestUnlocked(v7, v11); v9 = isSpecialChestUnlocked; if ( SHIBYTE(v12) < 0 ) { operator delete(v11[0]); if ( (v9 & 1) != 0 ) return (std::string *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1200LL))(a1); } else if ( (isSpecialChestUnlocked & 1) != 0 ) { return (std::string *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1200LL))(a1); } *(_DWORD *)(a1 + 516) = 1; result = std::string::operator=((std::string *)(a1 + 520), (const std::string *)a2); if ( (*(_BYTE *)(a1 + 512) & 1) == 0 ) return (std::string *)SecretLayer5::handleSecretResponse(a1); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source