// // cocos2d::CCTextFieldTTF::setPlaceHolder from 0x1002639f4 to 0x100263aa8 (180 bytes) // // 1 xrefs: // > @ 0x100911c58 // // This function is hookable on this platform (idp: arm, 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:01:40 +0000 // std::string::value_type *__fastcall cocos2d::CCTextFieldTTF::setPlaceHolder(__int64 a1, char *a2) { __int64 v4; // x20 std::string::value_type *result; // x0 const std::string::value_type *v6; // x20 __int64 v7; // x9 v4 = *(_QWORD *)(a1 + 728); if ( v4 ) { if ( *(char *)(v4 + 23) < 0 ) operator delete(*(void **)v4); operator delete((void *)v4); *(_QWORD *)(a1 + 728) = 0; } result = (std::string::value_type *)operator new(0x18u); v6 = result; if ( a2 ) { result = (std::string::value_type *)sub_100009900(result, a2); } else { *(_QWORD *)result = 0; *((_QWORD *)result + 1) = 0; *((_QWORD *)result + 2) = 0; } *(_QWORD *)(a1 + 728) = v6; v7 = *(_QWORD *)(a1 + 720); if ( (*(char *)(v7 + 23) & 0x8000000000000000LL) != 0 ) { if ( *(_QWORD *)(v7 + 8) ) return result; } else if ( *(_BYTE *)(v7 + 23) ) { return result; } if ( v6[23] < 0 ) v6 = *(const std::string::value_type **)v6; return (std::string::value_type *)cocos2d::CCLabelTTF::setString(a1, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source