// // cocos2d::cc_utf8_find_last_not_char from 0x1001ad048 to 0x1001ad088 (64 bytes) // // 1 xrefs: // > cocos2d::CCLabelBMFont::updateLabel @ 0x1002fc794 // // 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 // unsigned int __fastcall cocos2d::cc_utf8_find_last_not_char(std::vector *a1, unsigned __int16 a2) { std::__vector_base::pointer begin; // x8 unsigned __int64 v3; // x0 int v4; // w9 __int64 v5; // x10 bool v6; // vf int v7; // w11 begin = a1->__begin_; v3 = (unsigned __int64)((char *)a1->__end_ - (char *)a1->__begin_) >> 1; v4 = (v3 & ((int)v3 >> 31)) - 1; v5 = (unsigned int)v3 - 1LL; while ( 1 ) { v6 = __OFSUB__((_DWORD)v3, 1); LODWORD(v3) = v3 - 1; if ( ((v3 & 0x80000000) != 0LL) != v6 ) break; v7 = begin[(unsigned int)v5--]; if ( v7 != a2 ) return v3; } LODWORD(v3) = v4; return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source