// // SecretRewardsLayer::dialogClosed from 0x100389adc to 0x100389bc8 (236 bytes) // // 2 xrefs: // > sub_100389BC8 @ 0x100389bcc // > @ 0x10093dd10 // // 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 11:03:34 +0000 // __int64 __fastcall SecretRewardsLayer::dialogClosed(__int64 a1, __int64 a2) { __int64 result; // x0 __int64 v5; // x20 const char *v6; // x21 __int64 v7; // x0 result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)result == 2 ) { v5 = 2; v6 = "20"; } else { result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)result == 1 ) { v5 = 1; v6 = "11"; } else { result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)result == 3 ) { v5 = 4; v6 = "34"; } else { result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)result != 4 ) return result; v5 = 3; v6 = "35"; } } } v7 = GameManager::sharedState(result); GameManager::setUGV(v7, v6, 1); return SecretRewardsLayer::showShop(a1, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source