// // cocos2d::extension::CCEditBox::create from 0x1004a3340 to 0x1004a34de (414 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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 12:30:53 +0000 // char *__fastcall cocos2d::extension::CCEditBox::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { char *v6; // rbx v6 = (char *)operator new(0x2E0u); cocos2d::extension::CCControlButton::CCControlButton((__int64)v6); cocos2d::CCIMEDelegate::CCIMEDelegate(v6 + 568); *(_QWORD *)v6 = off_100B52160; *((_QWORD *)v6 + 40) = off_100B527A8; *((_QWORD *)v6 + 41) = &off_100B52818; *((_QWORD *)v6 + 42) = off_100B52830; *((_QWORD *)v6 + 43) = off_100B52850; *((_QWORD *)v6 + 44) = off_100B52878; *((_QWORD *)v6 + 51) = off_100B528A8; *((_QWORD *)v6 + 71) = off_100B52928; *((_OWORD *)v6 + 36) = 0; *((_QWORD *)v6 + 74) = 0x400000006LL; *((_DWORD *)v6 + 150) = 0; *((_OWORD *)v6 + 38) = 0; *((_OWORD *)v6 + 39) = 0; *((_OWORD *)v6 + 40) = 0; *((_OWORD *)v6 + 41) = 0; *((_OWORD *)v6 + 42) = 0; *((_OWORD *)v6 + 43) = 0; *(_DWORD *)(v6 + 711) = -1; *((_QWORD *)v6 + 88) = -1; *(_WORD *)(v6 + 715) = -22874; v6[717] = -90; *((_QWORD *)v6 + 90) = 0; *((_DWORD *)v6 + 182) = 0; if ( (unsigned __int8)cocos2d::extension::CCEditBox::initWithSizeAndBackgroundSprite(v6, a1, a2) ) { if ( a3 ) (*(void (__fastcall **)(char *, __int64, __int64))(*(_QWORD *)v6 + 1544LL))(v6, a3, 2); if ( a4 ) (*(void (__fastcall **)(char *, __int64, __int64))(*(_QWORD *)v6 + 1544LL))(v6, a4, 4); cocos2d::CCObject::autorelease((__int64)v6); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6); return nullptr; } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source