// // sub_1001630E0 from 0x1001630e0 to 0x1001631d8 (248 bytes) // // 27 xrefs: // > DS_Dictionary::setVec2ForKey @ 0x10015e852 // > DS_Dictionary::setVec2ForKey @ 0x10015e874 // > DS_Dictionary::setVec2ForKey @ 0x10015e896 // > DS_Dictionary::setRectForKey @ 0x10015ed52 // > DS_Dictionary::setRectForKey @ 0x10015ed74 // > DS_Dictionary::setRectForKey @ 0x10015ed96 // > DS_Dictionary::setRectForKey @ 0x10015edb8 // > DS_Dictionary::setRectForKey @ 0x10015edda // > DS_Dictionary::setVec2ArrayForKey @ 0x10015f4ff // > DS_Dictionary::setVec2ArrayForKey @ 0x10015f524 // > DS_Dictionary::setVec2ArrayForKey @ 0x10015f54a // > DS_Dictionary::setRectArrayForKey @ 0x10015f914 // > DS_Dictionary::setRectArrayForKey @ 0x10015f939 // > DS_Dictionary::setRectArrayForKey @ 0x10015f95f // > DS_Dictionary::setRectArrayForKey @ 0x10015f985 // > DS_Dictionary::setRectArrayForKey @ 0x10015f9ab // > cocos2d::ZipUtils::urlDecode @ 0x1001e937c // > cocos2d::ZipUtils::urlDecode @ 0x1001e93f1 // > sub_10027EB20 @ 0x10027ec0f // > sub_10027EB20 @ 0x10027ec2b // > sub_10027EB20 @ 0x10027ec4a // > sub_10027EB20 @ 0x10027eca2 // > sub_10027EB20 @ 0x10027ed9d // > sub_10027EB20 @ 0x10027edb1 // > sub_10027EB20 @ 0x10027edd8 // > sub_10027EB20 @ 0x10027eec1 // > sub_10027EB20 @ 0x10027eed5 // // This function is hookable on this platform (idp: pc, 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 12:25:08 +0000 // _QWORD *__fastcall sub_1001630E0(_QWORD *a1, __int64 a2, __int64 a3) { char *v4; // r8 __int64 v5; // r12 int v6; // r13d int v7; // eax const std::locale::facet *v8; // rax __int64 v9; // r14 __int64 v10; // rdx _BYTE v12[16]; // [rsp+0h] [rbp-50h] BYREF char *v13; // [rsp+10h] [rbp-40h] std::locale v14; // [rsp+18h] [rbp-38h] BYREF char v15; // [rsp+27h] [rbp-29h] std::ostream::sentry::sentry(v12, a1); if ( v12[0] == 1 ) { v4 = (char *)a1 + *(_QWORD *)(*a1 - 24LL); v5 = *((_QWORD *)v4 + 5); v6 = *((_DWORD *)v4 + 2); v7 = *((_DWORD *)v4 + 36); if ( v7 == -1 ) { v13 = (char *)a1 + *(_QWORD *)(*a1 - 24LL); std::ios_base::getloc((const std::ios_base *)&v14); v8 = std::locale::use_facet(&v14, &std::ctype::id); v15 = ((__int64 (__fastcall *)(const std::locale::facet *, __int64))v8->__vftable[2].~facet_0)(v8, 32); std::locale::~locale(&v14); LOBYTE(v7) = v15; v4 = v13; *((_DWORD *)v13 + 36) = v15; } v9 = a2 + a3; v10 = a2; if ( (v6 & 0xB0) == 0x20 ) v10 = v9; if ( !sub_100163230(v5, a2, v10, v9, v4, (unsigned int)(char)v7) ) std::ios_base::clear( (std::ios_base *)((char *)a1 + *(_QWORD *)(*a1 - 24LL)), *(_DWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24LL) + 32) | 5); } std::ostream::sentry::~sentry(v12); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source