// // sub_10045267C from 0x10045267c to 0x10045270c (144 bytes) // // 2 xrefs: // > sub_100452610 @ 0x100452644 // > sub_1004544E4 @ 0x100454d84 // // 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:21 +0000 // __int64 __fastcall sub_10045267C(__int64 a1, __int64 *a2) { __int64 v3; // x10 __int64 result; // x0 __int64 v5; // x8 __int64 v6; // x8 __int64 *v7; // x8 __int64 v8; // t1 __int64 v9; // [xsp+8h] [xbp-18h] BYREF v3 = a2[1]; if ( (unsigned __int64)(v3 + 40) <= 0x8000 ) { v5 = *a2; result = *a2 + v3 + 48; a2[1] = v3 + 40; } else { result = sub_100454268(a2, 40, &v9); v5 = v9; } *(_QWORD *)result = v5; *(_OWORD *)(result + 8) = 0u; *(_OWORD *)(result + 24) = 0u; v6 = *(_QWORD *)(a1 + 56); if ( v6 ) { v8 = *(_QWORD *)(v6 + 24); v7 = (__int64 *)(v6 + 24); *(_QWORD *)(v8 + 32) = result; *(_QWORD *)(result + 24) = v8; } else { *(_QWORD *)(a1 + 56) = result; v7 = (__int64 *)(result + 24); } *v7 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source