// // cocos2d::CCTextFieldTTF::draw from 0x100269230 to 0x1002692ca (154 bytes) // // 1 xrefs: // > @ 0x100af6b20 // // 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:27:34 +0000 // __int64 __fastcall cocos2d::CCTextFieldTTF::draw(_QWORD *a1) { __int64 v1; // rax __int64 v3; // rdi __int64 result; // rax unsigned __int8 *v5; // rcx unsigned int v6; // eax __int64 v7; // rax int v8; // [rsp+0h] [rbp-Ch] BYREF v8 = HIDWORD(v1); v3 = a1[88]; if ( !v3 || (result = (*(__int64 (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v3 + 32LL))(v3, a1), !(_BYTE)result) ) { v5 = (unsigned __int8 *)a1[90]; v6 = *v5; if ( (v6 & 1) != 0 ) { if ( *((_QWORD *)v5 + 1) ) return cocos2d::CCSprite::draw(a1); } else if ( v6 >> 1 ) { return cocos2d::CCSprite::draw(a1); } v7 = (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 944LL))(a1); LOWORD(v8) = *(_WORD *)v7; BYTE2(v8) = *(_BYTE *)(v7 + 2); (*(void (__fastcall **)(_QWORD *, _QWORD *))(*a1 + 960LL))(a1, a1 + 92); cocos2d::CCSprite::draw(a1); return (*(__int64 (__fastcall **)(_QWORD *, int *))(*a1 + 960LL))(a1, &v8); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source