// // cocos2d::extension::CCEditBoxImplAndroid::initWithSize from 0x7b0e90 to 0x7b0fdc (332 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:00:07 +0000 // int __fastcall cocos2d::extension::CCEditBoxImplAndroid::initWithSize( cocos2d::extension::CCEditBoxImplAndroid *this, const cocos2d::CCSize *a2) { float v4; // r3 int v5; // r0 int v6; // r9 void (__fastcall *v7)(int, _BYTE *); // r10 int v8; // r9 void (__fastcall *v9)(int, _BYTE *); // r10 float v10; // r3 int v11; // r0 int v12; // r7 void (__fastcall *v13)(int, _BYTE *); // r9 int v14; // r7 void (__fastcall *v15)(int, _BYTE *); // r9 _BYTE v17[8]; // [sp+4h] [bp-Ch] BYREF getFontSizeAccordingHeightJni((int)(float)(*((float *)a2 + 1) - 12.0)); v5 = cocos2d::CCLabelTTF::create( (cocos2d::CCLabelTTF *)&unk_B6B226, (const char *)&unk_B6B226, COERCE_CONST_CHAR_(*((float *)a2 + 1) - 12.0), v4); *((_DWORD *)this + 3) = v5; v6 = v5; v7 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v5 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 0.0, 0.5); v7(v6, v17); v8 = *((_DWORD *)this + 3); v9 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 5.0, *((float *)a2 + 1) * 0.5); v9(v8, v17); (*(void (__fastcall **)(_DWORD, char *))(**((_DWORD **)this + 3) + 480))(*((_DWORD *)this + 3), (char *)this + 56); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 2) + 228))(*((_DWORD *)this + 2), *((_DWORD *)this + 3)); v11 = cocos2d::CCLabelTTF::create( (cocos2d::CCLabelTTF *)&unk_B6B226, (const char *)&unk_B6B226, COERCE_CONST_CHAR_(*((float *)a2 + 1) - 12.0), v10); *((_DWORD *)this + 4) = v11; v12 = v11; v13 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v11 + 148); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 0.0, 0.5); v13(v12, v17); v14 = *((_DWORD *)this + 4); v15 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v14 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 5.0, *((float *)a2 + 1) * 0.5); v15(v14, v17); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 4) + 172))(*((_DWORD *)this + 4), 0); (*(void (__fastcall **)(_DWORD, char *))(**((_DWORD **)this + 4) + 480))(*((_DWORD *)this + 4), (char *)this + 59); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 2) + 228))(*((_DWORD *)this + 2), *((_DWORD *)this + 4)); cocos2d::CCSize::operator=((char *)this + 68, a2); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source