// // std::__ndk1::__put_character_sequence> from 0x509e34 to 0x509f2a (246 bytes) // // 5 xrefs: // > std::__ndk1::operator<<> @ 0x509f4a // > compareStrings @ 0x50a07e // > compareStrings @ 0x50a0ba // > cocos2d::ZipUtils::urlDecode @ 0x7fbeca // > cocos2d::ZipUtils::urlDecode @ 0x7fbee0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:51:27 +0000 // _DWORD *__fastcall std::__put_character_sequence>(_DWORD *a1, signed int a2, int a3) { int v6; // r7 int v7; // r4 char *v8; // r6 int v9; // r0 unsigned int v11; // [sp+8h] [bp-1Ch] int v12; // [sp+Ch] [bp-18h] _BYTE v13[4]; // [sp+10h] [bp-14h] BYREF _BYTE v14[8]; // [sp+14h] [bp-10h] BYREF std::ostream::sentry::sentry((int)v14, a1); if ( v14[0] ) { v6 = a3 + a2; v7 = (int)a1 + *(_DWORD *)(*a1 - 12); v11 = *(_DWORD *)(v7 + 24); if ( (*(_DWORD *)(v7 + 4) & 0xB0) == 0x20 ) v8 = (char *)v6; else v8 = (char *)a2; if ( *(_DWORD *)(v7 + 76) == -1 ) { std::ios_base::getloc((std::ios_base *)v13); v9 = std::locale::use_facet((std::locale *)v13, (std::locale::id *)&std::ctype::id); v12 = (*(int (__fastcall **)(int, int))(*(_DWORD *)v9 + 28))(v9, 32); std::locale::~locale((std::locale *)v13); *(_DWORD *)(v7 + 76) = v12; } if ( !sub_509D3C(v11, a2, v8, v6, v7, *(_BYTE *)(v7 + 76)) ) std::ios_base::clear( (std::ios_base *)((char *)a1 + *(_DWORD *)(*a1 - 12)), *(_DWORD *)((char *)a1 + *(_DWORD *)(*a1 - 12) + 16) | 5); } std::ostream::sentry::~sentry((int)v14); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source