// // cocos2d::CCFileUtilsAndroid::getWritablePath from 0xd7c364 to 0xd7c478 (276 bytes) // // 2 xrefs: // > @ 0x66a78 // > @ 0x152de20 // // 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 13:08:07 +0000 // __int64 *__usercall cocos2d::CCFileUtilsAndroid::getWritablePath@(__int64 *a1@) { size_t v3; // x2 char *v4; // x1 __int64 v5; // x0 __int64 v6; // x1 void *v7; // x2 char v8; // w0 __int64 v10; // [xsp+38h] [xbp+38h] BYREF __int64 v11; // [xsp+40h] [xbp+40h] void *v12; // [xsp+48h] [xbp+48h] __int64 v13; // [xsp+50h] [xbp+50h] BYREF size_t v14; // [xsp+58h] [xbp+58h] void *v15; // [xsp+60h] [xbp+60h] v10 = 0; v11 = 0; v12 = nullptr; getFileDirectoryJNI(&v13); if ( (v13 & 1) != 0 ) { v3 = v14; if ( v14 ) { v4 = (char *)v15; goto LABEL_6; } LABEL_10: *a1 = 0; a1[1] = 0; a1[2] = 0; std::string::__init(a1, &byte_11B8890, 0); if ( (v13 & 1) == 0 ) goto LABEL_7; goto LABEL_11; } LODWORD(v3) = (int)(unsigned __int8)v13 >> 1; if ( !(_DWORD)v3 ) goto LABEL_10; v3 = (int)v3; v4 = (char *)&v13 + 1; LABEL_6: v5 = std::string::append((__int64)&v10, v4, v3); std::string::append(v5, &word_11BA098, 1u); v6 = v11; v7 = v12; *a1 = v10; a1[1] = v6; v8 = v13; a1[2] = (__int64)v7; v10 = 0; v11 = 0; v12 = nullptr; if ( (v8 & 1) == 0 ) goto LABEL_7; LABEL_11: operator delete(v15); LABEL_7: if ( (v10 & 1) != 0 ) operator delete(v12); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source