// // sub_DAE464 from 0xdae464 to 0xdae56c (264 bytes) // // 3 xrefs: // > cocos2d::CCTMXMapInfo::startElement @ 0xdaf1ac // > cocos2d::CCTMXMapInfo::startElement @ 0xdb009c // > cocos2d::CCTMXMapInfo::startElement @ 0xdb00bc // // 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:08:36 +0000 // __int64 __fastcall sub_DAE464(_QWORD *a1, __int64 a2, unsigned __int8 a3) { int v5; // w22 __int64 v6; // x21 unsigned __int8 v7; // w2 _QWORD *v8; // x0 unsigned __int8 *v9; // x1 int v10; // w0 int v11; // w1 v5 = a3; if ( (*(_BYTE *)a2 & 1) != 0 ) { **(_BYTE **)(a2 + 16) = 0; *(_QWORD *)(a2 + 8) = 0; } else { *(_BYTE *)(a2 + 1) = 0; *(_BYTE *)a2 = 0; } v6 = 0; while ( 1 ) { v8 = *(_QWORD **)((char *)a1 + *(_QWORD *)(*a1 - 24LL) + 40); v9 = (unsigned __int8 *)v8[3]; if ( v9 == (unsigned __int8 *)v8[4] ) break; v8[3] = v9 + 1; v7 = *v9; LABEL_5: ++v6; if ( v7 == v5 ) { v11 = 0; goto LABEL_13; } std::string::push_back((__int64 *)a2, v7); if ( (*(_BYTE *)a2 & 1) != 0 && *(_QWORD *)(a2 + 8) == -17 ) { v11 = 4; goto LABEL_13; } } v10 = (*(__int64 (__fastcall **)(_QWORD *))(*v8 + 80LL))(v8); v7 = v10; if ( v10 != -1 ) goto LABEL_5; if ( v6 ) v11 = 2; else v11 = 6; LABEL_13: std::ios_base::clear( (std::ios_base *)((char *)a1 + *(_QWORD *)(*a1 - 24LL)), v11 | *(_DWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24LL) + 32)); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source