// // cocos2d::CCTextFieldTTF::setPlaceHolder from 0x7fefc4 to 0x7ff03c (120 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 // int *__fastcall cocos2d::CCTextFieldTTF::setPlaceHolder(cocos2d::CCTextFieldTTF *this, const char *a2) { void *v3; // r4 int *v5; // r4 size_t v6; // r0 int *result; // r0 unsigned __int8 *v8; // r2 int v9; // r3 int v10; // r3 char *v11; // r1 v3 = *((void **)this + 149); if ( v3 ) { std::string::~string(*((_DWORD *)this + 149)); operator delete(v3); *((_DWORD *)this + 149) = 0; } if ( a2 ) { v5 = (int *)operator new(0xCu); *v5 = 0; v5[1] = 0; v5[2] = 0; v6 = strlen(a2); result = (int *)std::string::__init(v5, a2, v6); } else { result = (int *)operator new(0xCu); v5 = result; *result = 0; result[1] = 0; result[2] = 0; } v8 = *((unsigned __int8 **)this + 148); *((_DWORD *)this + 149) = v5; v9 = *v8; if ( (v9 & 1) != 0 ) v10 = *((_DWORD *)v8 + 1); else v10 = v9 >> 1; if ( !v10 ) { if ( (*(_BYTE *)v5 & 1) != 0 ) v11 = (char *)v5[2]; else v11 = (char *)v5 + 1; return (int *)cocos2d::CCLabelTTF::setString(this, v11); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source