// // sub_10054AE8C from 0x10054ae8c to 0x10054af84 (248 bytes) // // 2 xrefs: // > AccountReviewPopup::FLAlert_Clicked @ 0x10054aac4 // > AccountReviewPopup::FLAlert_Clicked @ 0x10054ac84 // // 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:07:50 +0000 // __int64 __fastcall sub_10054AE8C(__int64 a1, signed int a2) { __int64 result; // x0 __int64 v5; // x0 __int64 v6; // x19 unsigned int v7; // w8 bool v8; // cc int v9; // w8 bool v10; // zf int v11; // w20 __int64 v12; // x0 int v13; // w2 if ( *(_DWORD *)(a1 + 1236) != 1 ) return 0; result = 0; if ( (a2 & 0x80000000) == 0 && *(_QWORD *)(a1 + 1312) ) { if ( (int)sub_1002E757C(*(_QWORD *)(a1 + 1312)) > a2 && (v5 = sub_1002E75A0(*(_QWORD *)(a1 + 1312), a2), *(_DWORD *)(v5 + 60) == 3) && (v6 = v5, *(int *)(v5 + 164) >= 1) && *(_BYTE *)(v5 + 172) == 1 && ((v7 = *(_DWORD *)(v5 + 56), v8 = v7 > 7, v9 = (1 << v7) & 0x98, !v8) ? (v10 = v9 == 0) : (v10 = 1), !v10) ) { *(_QWORD *)(GameLevelManager::sharedState() + 1248) = a1 + 784; v11 = *(_DWORD *)(v6 + 56); v12 = GameLevelManager::sharedState(); if ( v11 == 4 ) { sub_1000C25A8(v12, *(_DWORD *)(v6 + 168), *(_DWORD *)(v6 + 164)); } else { if ( *(_DWORD *)(v6 + 56) == 7 ) v13 = 6; else v13 = 0; sub_1000C2180(v12, *(_DWORD *)(v6 + 164), v13, *(_DWORD *)(v6 + 168)); } *(_BYTE *)(v6 + 172) = 0; return 1; } else { return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source