// // cocos2d::cc_utf8_find_last_not_char from 0x180098990 to 0x1800989c3 (51 bytes) // // 2 xrefs: // > cocos2d::CCLabelBMFont::updateLabel @ 0x18004ed5a // > @ 0x18014cf68 // // 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 11:22:10 +0000 // __int64 __fastcall cocos2d::cc_utf8_find_last_not_char(__int64 *a1, __int16 a2) { __int64 v3; // rdx __int64 result; // rax __int64 v5; // rcx _WORD *v6; // rdx v3 = *a1; result = (unsigned int)((a1[1] - *a1) >> 1) - 1; if ( (int)result >= 0 ) { v5 = (int)result; v6 = (_WORD *)(v3 + 2LL * (int)result); do { if ( *v6 != a2 ) break; result = (unsigned int)(result - 1); --v6; --v5; } while ( v5 >= 0 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source