// // sub_100098AC0 from 0x100098ac0 to 0x100098b29 (105 bytes) // // 15 xrefs: // > cocos2d::CCUserDefault::getBoolForKey @ 0x1005de4f5 // > cocos2d::CCUserDefault::getBoolForKey @ 0x1005de51d // > cocos2d::CCUserDefault::setBoolForKey @ 0x1005de7a1 // > cocos2d::CCUserDefault::getIntegerForKey @ 0x1005de949 // > cocos2d::CCUserDefault::getIntegerForKey @ 0x1005de974 // > cocos2d::CCUserDefault::setIntegerForKey @ 0x1005dea61 // > cocos2d::CCUserDefault::getFloatForKey @ 0x1005debcd // > cocos2d::CCUserDefault::getFloatForKey @ 0x1005debf8 // > cocos2d::CCUserDefault::setFloatForKey @ 0x1005dece3 // > cocos2d::CCUserDefault::getDoubleForKey @ 0x1005dee59 // > cocos2d::CCUserDefault::getDoubleForKey @ 0x1005dee84 // > cocos2d::CCUserDefault::setDoubleForKey @ 0x1005def73 // > cocos2d::CCUserDefault::getStringForKey @ 0x1005df193 // > cocos2d::CCUserDefault::getStringForKey @ 0x1005df1be // > cocos2d::CCUserDefault::setStringForKey @ 0x1005df380 // // 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 sub_100098AC0(__int64 a1, const char *a2, unsigned __int8 a3) { FILE *v4; // rax __int64 v5; // rdx FILE *v6; // r14 v4 = fopen(a2, "w"); if ( v4 ) { v5 = a3; v6 = v4; sub_100098B30(a1, v4, v5); fclose(v6); return *(unsigned int *)(a1 + 92); } else { *(_DWORD *)(a1 + 92) = 4; *(_QWORD *)(a1 + 104) = a2; *(_QWORD *)(a1 + 112) = 0; return 4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source