// // cocos2d::cc_utf8_find_last_not_char from 0x10065ffb0 to 0x10065ffe9 (57 bytes) // // 1 xrefs: // > cocos2d::CCLabelBMFont::updateLabel @ 0x1005daa0c // // 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 // // local variable allocation has failed, the output may be wrong! unsigned int __fastcall cocos2d::cc_utf8_find_last_not_char(std::vector a1, unsigned __int16 a2) { __int16 v2; // si __int64 v3; // rcx __int64 v4; // rax int v5; // edi __int64 v6; // rdx __int64 v7; // r8 v3 = *(_QWORD *)a2; v4 = (*(_QWORD *)(a2 + 8LL) - *(_QWORD *)a2) >> 1; v5 = (v4 & ((int)v4 >> 31)) - 1; v6 = (unsigned int)v4 - 1LL; while ( (int)v4 > 0 ) { v7 = (unsigned int)v6; LODWORD(v4) = v4 - 1; --v6; if ( *(_WORD *)(v3 + 2 * v7) != v2 ) return v4; } LODWORD(v4) = v5; return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source