// // cocos2d::CCFileUtils::addSuffix from 0xb04378 to 0xb0449c (292 bytes) // // 3 xrefs: // > @ 0xb1e88 // > @ 0x1217b68 // > @ 0x1218028 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // _QWORD *__usercall cocos2d::CCFileUtils::addSuffix@(_QWORD *a1@, void **a2@, _QWORD *a3@) { unsigned __int64 v7; // x20 unsigned __int64 v8; // x0 _QWORD v9[2]; // [xsp+0h] [xbp+0h] BYREF __int64 v10; // [xsp+40h] [xbp+40h] BYREF if ( sub_D1641C((int)a1, *a2) == -1 ) { sub_D18D28(&v10); v7 = sub_D16A88((unsigned int)v9 + 64, &word_F2A0A8, -1, 1u); v8 = sub_D16A88((unsigned int)v9 + 64, &byte_EEFB80, -1, 1u); if ( v8 != -1 && (v7 == -1 || v7 < v8) ) sub_D17B90(&v10, v8, *a2, *((_QWORD *)*a2 - 3)); else sub_D15E14(&v10, a2); *a3 = v10; } else { *a3 = *a1; *a1 = &byte_124B6C8; } return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source