// // sub_100460F1C from 0x100460f1c to 0x100460fec (208 bytes) // // 1 xrefs: // > sub_10045F6C4 @ 0x10046092c // // 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:05:29 +0000 // __int64 __fastcall sub_100460F1C(__int64 a1) { int v2; // w20 __int64 v3; // x0 __int64 v4; // x20 int v5; // w22 int v6; // w23 __int64 v7; // x21 char *v8; // x1 int Stat; // w21 int v10; // w22 char *v12; // x0 void *__p[2]; // [xsp+8h] [xbp-48h] BYREF char v14; // [xsp+1Fh] [xbp-31h] v2 = *(_DWORD *)(a1 + 688); v3 = GameStatsManager::sharedState(); v4 = sub_1003C9960(v3, (unsigned int)(v2 + 5), 12); v5 = *(_DWORD *)(v4 + 352); v6 = *(_DWORD *)(v4 + 356); v7 = GameStatsManager::sharedState(); sub_1003C9F54(v4, __p); if ( v14 >= 0 ) v8 = (char *)__p; else v8 = (char *)__p[0]; Stat = GameStatsManager::getStat(v7, v8); v10 = v5 - v6; if ( v14 < 0 ) operator delete(__p[0]); if ( v10 > Stat ) return sub_100461458(a1, v4); v12 = PurchaseItemPopup::create(v4); *((_QWORD *)v12 + 84) = a1 + 672; return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v12 + 1312LL))(v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source