// // cocos2d::extension::CCEditBoxImplAndroid::initWithSize from 0x5ab244 to 0x5ab390 (332 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall cocos2d::extension::CCEditBoxImplAndroid::initWithSize( cocos2d::extension::CCEditBoxImplAndroid *this, const cocos2d::CCSize *a2) { float v4; // r3 _DWORD *v5; // r0 int v6; // r3 _DWORD *v7; // r9 void (__fastcall *v8)(_DWORD *, cocos2d::CCPoint *); // r10 int v9; // r9 void (__fastcall *v10)(int, cocos2d::CCPoint *); // r10 float v11; // r3 _DWORD *v12; // r0 int v13; // r3 _DWORD *v14; // r7 void (__fastcall *v15)(_DWORD *, cocos2d::CCPoint *); // r9 int v16; // r7 void (__fastcall *v17)(int, cocos2d::CCPoint *); // r9 cocos2d::CCPoint v19; // [sp+4h] [bp-Ch] BYREF getFontSizeAccordingHeightJni((int)(float)(a2->height - 12.0)); v5 = (_DWORD *)cocos2d::CCLabelTTF::create( (cocos2d::CCLabelTTF *)&unk_939830, (const char *)&unk_939830, COERCE_CONST_CHAR_(a2->height - 12.0), v4); v6 = *v5; v7 = v5; *((_DWORD *)this + 3) = v5; v8 = *(void (__fastcall **)(_DWORD *, cocos2d::CCPoint *))(v6 + 140); cocos2d::CCPoint::CCPoint(&v19, 0.0, 0.5); v8(v7, &v19); v9 = *((_DWORD *)this + 3); v10 = *(void (__fastcall **)(int, cocos2d::CCPoint *))(*(_DWORD *)v9 + 92); cocos2d::CCPoint::CCPoint(&v19, 5.0, a2->height * 0.5); v10(v9, &v19); (*(void (__fastcall **)(_DWORD, char *))(**((_DWORD **)this + 3) + 472))(*((_DWORD *)this + 3), (char *)this + 40); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 2) + 220))(*((_DWORD *)this + 2), *((_DWORD *)this + 3)); v12 = (_DWORD *)cocos2d::CCLabelTTF::create( (cocos2d::CCLabelTTF *)&unk_939830, (const char *)&unk_939830, COERCE_CONST_CHAR_(a2->height - 12.0), v11); v13 = *v12; v14 = v12; *((_DWORD *)this + 4) = v12; v15 = *(void (__fastcall **)(_DWORD *, cocos2d::CCPoint *))(v13 + 140); cocos2d::CCPoint::CCPoint(&v19, 0.0, 0.5); v15(v14, &v19); v16 = *((_DWORD *)this + 4); v17 = *(void (__fastcall **)(int, cocos2d::CCPoint *))(*(_DWORD *)v16 + 92); cocos2d::CCPoint::CCPoint(&v19, 5.0, a2->height * 0.5); v17(v16, &v19); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 4) + 164))(*((_DWORD *)this + 4), 0); (*(void (__fastcall **)(_DWORD, char *))(**((_DWORD **)this + 4) + 472))(*((_DWORD *)this + 4), (char *)this + 43); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 2) + 220))(*((_DWORD *)this + 2), *((_DWORD *)this + 4)); cocos2d::CCSize::operator=((char *)this + 52, a2); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source