// // ConfigureHSVWidget::createTextInputNode from 0x5e5070 to 0x5e51d0 (352 bytes) // // 3 xrefs: // > ConfigureHSVWidget::init @ 0x5e57ec // > ConfigureHSVWidget::init @ 0x5e58f0 // > ConfigureHSVWidget::init @ 0x5e59ea // // 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 11:54:19 +0000 // int __fastcall ConfigureHSVWidget::createTextInputNode(cocos2d::CCDictionary **a1, int a2, int a3) { int v6; // r5 void (__fastcall *v7)(int, _BYTE *); // r11 int *v8; // r4 void (__fastcall *v9)(int *, int); // r9 int v10; // r0 const char *v12[2]; // [sp+8h] [bp-34h] BYREF _BYTE v13[8]; // [sp+10h] [bp-2Ch] BYREF int v14[3]; // [sp+18h] [bp-24h] BYREF _BYTE v15[16]; // [sp+24h] [bp-18h] BYREF cocos2d::CCRect::CCRect((cocos2d::CCRect *)v15, 0.0, 0.0, 40.0, 40.0); v6 = cocos2d::extension::CCScale9Sprite::create("square02_small.png", v15); (*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 456))(v6, 100); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v12, 60.0, 30.0); (*(void (__fastcall **)(int, const char **))(*(_DWORD *)v6 + 160))(v6, v12); (*((void (__fastcall **)(cocos2d::CCDictionary **, int, int))*a1 + 58))(a1, v6, -1); v7 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v6 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, 50.0, 0.0); cocos2d::CCPoint::operator+(v15, a2, v13); v7(v6, v15); (*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 80))(v6, 1058642330); v8 = CCTextInputNode::create( (CCTextInputNode *)0x41F00001, 24.0, "Num", "Thonburi", (const char *)&dword_18, "bigFont.fnt", v12[0]); (*((void (__fastcall **)(cocos2d::CCDictionary **, int *, int))*a1 + 58))(a1, v8, 20); v9 = *(void (__fastcall **)(int *, int))(*v8 + 92); v10 = (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 96))(v6); v9(v8, v10); CCTextInputNode::setMaxLabelScale((unsigned int)v8, 0.36); CCTextInputNode::setMaxLabelWidth((unsigned int)v8, 60.0); (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v8[104] + 172))(v8[104], 0); v8[106] = 5; v8[126] = 1; memset(v14, 0, sizeof(v14)); std::string::__init(v14, "0123456789.-", 0xCu); CCTextInputNode::setAllowedChars((int)v8, (unsigned __int8 *)v14); std::string::~string((int)v14); (*(void (__fastcall **)(int *, int))(*v8 + 36))(v8, a3); v8[105] = (int)(a1 + 66); *((_BYTE *)v8 + 324) = 1; return cocos2d::CCDictionary::setObject(a1[80], (cocos2d::CCObject *)v8, a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source