// // sub_1004FA900 from 0x1004fa900 to 0x1004fa9d8 (216 bytes) // // 2 xrefs: // > ThreadViewPopup::init @ 0x1004f8ecc // > sub_1004FB18C @ 0x1004fb1c8 // // 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:06:50 +0000 // __int64 __fastcall sub_1004FA900(__int64 a1, __int64 a2) { __int64 result; // x0 __int64 v5; // x21 int v6; // w22 char v7; // w21 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v9; // [xsp+1Fh] [xbp-21h] if ( *(_QWORD *)(a1 + 1040) ) return 0; result = 0; if ( a2 >= 1 && (*(_BYTE *)(a1 + 790) & 1) == 0 ) { v5 = GameLevelManager::sharedState(); v6 = *(_DWORD *)(*(_QWORD *)(a1 + 752) + 56LL); sub_100009900(__p, ""); v7 = sub_1000C5938(v5, v6, 0, 0, -1, a2, (__int64)__p); if ( v9 < 0 ) operator delete(__p[0]); if ( (v7 & 1) != 0 ) { *(_QWORD *)(GameLevelManager::sharedState() + 1264) = a1 + 672; sub_1004FB004(a1, 0); *(_QWORD *)(a1 + 1176) = a2; *(_QWORD *)(a1 + 1184) = a2; sub_1004FA9F4(a1); return 1; } return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source