// // std::__ndk1::align from 0x97708c to 0x9770c2 (54 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:05:58 +0000 // _BYTE *__fastcall std::align(unsigned int a1, unsigned int a2, void **a3, unsigned int *a4) { int v4; // r12 unsigned int v5; // r4 _BYTE *result; // r0 unsigned int v7; // r1 v4 = *a4; if ( *a4 < a2 ) return nullptr; v5 = v4 - a2; result = (_BYTE *)(-a1 & ((unsigned int)*a3 + a1 - 1)); v7 = result - (_BYTE *)*a3; if ( v7 > v5 ) return nullptr; *a3 = result; *a4 = v4 - v7; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source