// // cocos2d::CCFileUtilsIOS::writeToFile from 0x100236cf0 to 0x100236d7c (140 bytes) // // 1 xrefs: // > @ 0x1007c7da0 // // 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 // __int64 __fastcall cocos2d::CCFileUtilsIOS::writeToFile(__int64 a1, __int64 a2, __int64 *a3) { void *v5; // x19 __int64 v6; // x0 __int64 v7; // x21 __int64 *v8; // x2 v5 = +[NSMutableDictionary dictionary](&OBJC_CLASS___NSMutableDictionary, "dictionary"); if ( a2 ) { v6 = *(_QWORD *)(a2 + 56); if ( v6 ) { do { v7 = *(_QWORD *)(v6 + 288); sub_100236D7C(v6, *(_QWORD *)(v6 + 264), v5); v6 = v7; } while ( v7 ); } } if ( *((char *)a3 + 23) >= 0 ) v8 = a3; else v8 = (__int64 *)*a3; objc_msgSend( v5, "writeToFile:atomically:", +[NSString stringWithUTF8String:](&OBJC_CLASS___NSString, "stringWithUTF8String:", v8), 1); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source