// // cocos2d::CCTextFieldTTF::draw from 0x7ff03c to 0x7ff0bc (128 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:01:18 +0000 // void __fastcall cocos2d::CCTextFieldTTF::draw(cocos2d::CCTextFieldTTF *this, int a2) { int v3; // r0 unsigned __int8 *v4; // r2 int v5; // r3 int v6; // r1 int v7; // r3 int v8; // r0 __int16 v9; // r2 int v10; // r3 _DWORD v11[2]; // [sp+0h] [bp-8h] BYREF v11[0] = this; v11[1] = a2; v3 = *((_DWORD *)this + 146); if ( !v3 || !(*(int (__fastcall **)(int, cocos2d::CCTextFieldTTF *))(*(_DWORD *)v3 + 16))(v3, this) ) { v4 = *((unsigned __int8 **)this + 148); v5 = *v4; v6 = v5 << 31; if ( (v5 & 1) != 0 ) v7 = *((_DWORD *)v4 + 1); else v7 = v5 >> 1; if ( v7 ) { cocos2d::CCSprite::draw((cocos2d **)this); } else { v8 = (*(int (__fastcall **)(cocos2d::CCTextFieldTTF *, int))(*(_DWORD *)this + 472))(this, v6); v9 = *(_WORD *)v8; BYTE2(v11[0]) = *(_BYTE *)(v8 + 2); v10 = *(_DWORD *)this; LOWORD(v11[0]) = v9; (*(void (__fastcall **)(cocos2d::CCTextFieldTTF *, char *))(v10 + 480))(this, (char *)this + 600); cocos2d::CCSprite::draw((cocos2d **)this); (*(void (__fastcall **)(cocos2d::CCTextFieldTTF *, _DWORD *))(*(_DWORD *)this + 480))(this, v11); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source