// // sub_18004FAF0 from 0x18004faf0 to 0x18004fb69 (121 bytes) // // 3 xrefs: // > cocos2d::CCLabelTTF::setFontName @ 0x18005050f // > cocos2d::CCLabelTTF::setString @ 0x1800505e9 // > @ 0x1801bbe9c // // 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:21:45 +0000 // int __fastcall sub_18004FAF0(const void **a1, const char *a2) { size_t v4; // rax size_t v5; // rdi const void *v6; // rcx size_t v7; // rbx size_t v8; // r8 int result; // eax v4 = strlen(a2); v5 = v4; v6 = a1; if ( (unsigned __int64)a1[3] > 0xF ) v6 = *a1; v7 = (size_t)a1[2]; v8 = v7; if ( v4 < v7 ) v8 = v4; result = memcmp(v6, a2, v8); if ( !result ) { if ( v7 >= v5 ) return v7 > v5; else return -1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source