//
// std::__ndk1::ios_base::init from 0xf4331c to 0xf43370 (84 bytes)
//
// 26 xrefs:
// > GJGameLevel::scoreStringToVector @ 0x850ec0
// > SongInfoLayer::init @ 0x904a20
// > sub_CAF7FC @ 0xcaf868
// > cocos2d::ZipUtils::hexToChar @ 0xd9c650
// > cocos2d::ZipUtils::urlDecode @ 0xd9cad8
// > cocos2d::CCTMXMapInfo::startElement @ 0xdaeda4
// > cocos2d::CCTMXMapInfo::startElement @ 0xdaeec0
// > DS_Dictionary::copyFile @ 0xdb8450
// > DS_Dictionary::copyFile @ 0xdb84c0
// > DS_Dictionary::saveRootSubDictToCompressedFile @ 0xdb9b54
// > DS_Dictionary::saveRootSubDictToCompressedFile @ 0xdb9bd8
// > DS_Dictionary::saveRootSubDictToFile @ 0xdba03c
// > DS_Dictionary::saveRootSubDictToFile @ 0xdba0c0
// > DS_Dictionary::setVec2ForKey @ 0xdbcca8
// > DS_Dictionary::setRectForKey @ 0xdbd028
// > DS_Dictionary::setVec2ArrayForKey @ 0xdbd5b4
// > DS_Dictionary::setRectArrayForKey @ 0xdbd9f4
// > std::__ndk1::ios_base::Init::Init @ 0xf4eb60
// > std::__ndk1::ios_base::Init::Init @ 0xf4ebc0
// > std::__ndk1::ios_base::Init::Init @ 0xf4ec18
// > std::__ndk1::ios_base::Init::Init @ 0xf4ec70
// > std::__ndk1::ios_base::Init::Init @ 0xf4ecbc
// > std::__ndk1::ios_base::Init::Init @ 0xf4ecf4
// > std::__ndk1::ios_base::Init::Init @ 0xf4ed40
// > std::__ndk1::ios_base::Init::Init @ 0xf4ed78
// > ??> @ 0x4d188
//
// 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:13:08 +0000
//
__int64 __fastcall std::ios_base::init(std::ios_base *this, void *a2)
{
std::locale *v2; // x19
*((_QWORD *)this + 5) = a2;
*((_DWORD *)this + 2) = 4098;
*((_QWORD *)this + 2) = 6;
*((_QWORD *)this + 3) = 0;
*((_DWORD *)this + 8) = a2 == nullptr;
*((_DWORD *)this + 9) = 0;
v2 = (std::ios_base *)((char *)this + 48);
memset((char *)this + 56, 0, 0x50u);
return std::locale::locale(v2);
}