// // sub_100531AA4 from 0x100531aa4 to 0x100531b70 (204 bytes) // // 2 xrefs: // > sub_1005319EC @ 0x100531a18 // > sub_100532E54 @ 0x100532ec8 // // 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:21 +0000 // void __usercall sub_100531AA4(__int64 *a1@, _QWORD *a2@) { __int64 v3; // x10 __int64 v4; // x8 unsigned __int64 v5; // x20 int v6; // w0 __int64 v7; // x9 __int64 *v8; // x10 __int64 v9; // t1 const char *v10; // x21 void **v11; // x8 void *v12; // x0 char *CString; // x0 void *__p[2]; // [xsp+18h] [xbp-38h] BYREF char v15; // [xsp+2Fh] [xbp-21h] v3 = *a1; v4 = a1[1] - *a1; v5 = v4 >> 7; if ( v4 ) { v6 = 0; if ( v5 <= 1 ) v7 = 1; else v7 = v4 >> 7; v8 = (__int64 *)(v3 + 120); do { v9 = *v8; v8 += 16; v6 += v9; --v7; } while ( v7 ); } else { v6 = 0; } if ( v4 == 128 ) v10 = ""; else v10 = "s"; sub_1001D1978(v6, __p); if ( v15 >= 0 ) v11 = __p; else v11 = (void **)__p[0]; v12 = sub_1003065B0("%i backup%s, %s", v5, v10, (const char *)v11); CString = (char *)cocos2d::CCString::getCString((__int64)v12); sub_100009900(a2, CString); if ( v15 < 0 ) operator delete(__p[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source