// // cocos2d::cc_utf8_find_last_not_char from 0x10073f600 to 0x10073f639 (57 bytes) // // 1 xrefs: // > cocos2d::CCLabelBMFont::updateLabel @ 0x1006ac35c // // 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:36:28 +0000 // unsigned __int64 __fastcall cocos2d::cc_utf8_find_last_not_char(__int64 *a1, __int16 a2) { __int64 v2; // rcx unsigned __int64 result; // rax unsigned int v4; // edi __int64 v5; // rdx __int64 v6; // r8 v2 = *a1; result = (unsigned __int64)(a1[1] - *a1) >> 1; v4 = (result & ((int)result >> 31)) - 1; v5 = (unsigned int)result - 1LL; while ( (int)result > 0 ) { v6 = (unsigned int)v5; result = (unsigned int)(result - 1); --v5; if ( *(_WORD *)(v2 + 2 * v6) != a2 ) return result; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source