// // cocos2d::CCFileUtilsIOS::writeToFile from 0x1002d3700 to 0x1002d378c (140 bytes) // // 1 xrefs: // > @ 0x1009203e0 // // 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:02:39 +0000 // __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_1002D378C(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