// // ConfigureHSVWidget::createTextInputNode from 0x1401304a0 to 0x1401306e6 (582 bytes) // // 4 xrefs: // > ConfigureHSVWidget::init @ 0x14012fd71 // > ConfigureHSVWidget::init @ 0x14012ff1f // > ConfigureHSVWidget::init @ 0x1401300a5 // > @ 0x140916e20 // // 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 11:27:03 +0000 // void __fastcall ConfigureHSVWidget::createTextInputNode(cocos2d::CCDictionary **a1, __int64 a2, int a3) { __int64 v4; // rbp __int64 v6; // rax _QWORD *v7; // rsi __int64 v8; // rdx void (__fastcall *v9)(_QWORD *, __int64); // r8 __int64 v10; // rax __int64 v11; // rdx __int64 v12; // rcx char *v13; // rdi __int64 v14; // rbx __int64 v15; // rax cocos2d::CCDictionary **v16; // rax _BYTE v17[8]; // [rsp+30h] [rbp-48h] BYREF char v18[13]; // [rsp+38h] [rbp-40h] BYREF char v19; // [rsp+45h] [rbp-33h] __int16 v20; // [rsp+46h] [rbp-32h] __int64 v21; // [rsp+48h] [rbp-30h] __int64 v22; // [rsp+50h] [rbp-28h] char v23; // [rsp+80h] [rbp+8h] BYREF char v24; // [rsp+98h] [rbp+20h] BYREF v4 = a3; cocos2d::CCRect::CCRect((cocos2d::CCRect *)v18, 0.0, 0.0, 40.0, 40.0); v7 = (_QWORD *)cocos2d::extension::CCScale9Sprite::create("square02_small.png", v6); v8 = v7[40]; v9 = *(void (__fastcall **)(_QWORD *, __int64))(v8 + 40); LOBYTE(v8) = 100; v9(v7 + 40, v8); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v23, 60.0, 30.0); (*(void (__fastcall **)(_QWORD *, char *))(*v7 + 312LL))(v7, &v23); (*((void (__fastcall **)(cocos2d::CCDictionary **, _QWORD *, __int64))*a1 + 57))(a1, v7, 0xFFFFFFFFLL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 50.0, 0.0); cocos2d::CCPoint::operator+(a2, &v24, v10); (*(void (__fastcall **)(_QWORD *, char *))(*v7 + 184LL))(v7, &v24); (*(void (__fastcall **)(_QWORD *))(*v7 + 160LL))(v7); v13 = CCTextInputNode::create(v12, v11, (__int64)"Num"); (*((void (__fastcall **)(cocos2d::CCDictionary **, char *, __int64))*a1 + 57))(a1, v13, 20); v14 = *(_QWORD *)v13; v15 = (*(__int64 (__fastcall **)(_QWORD *))(*v7 + 200LL))(v7); (*(void (__fastcall **)(char *, __int64))(v14 + 184))(v13, v15); *((_DWORD *)v13 + 141) = 1052266988; CCTextInputNode::refreshLabel((__int64)v13); *((_DWORD *)v13 + 140) = 1114636288; CCTextInputNode::refreshLabel((__int64)v13); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)v13 + 74) + 336LL))(*((_QWORD *)v13 + 74), 0); *((_DWORD *)v13 + 152) = 5; *((_DWORD *)v13 + 179) = 1; v21 = 12; strcpy(v18, "0123456789.-"); v22 = 15; v19 = 0; v20 = 0; CCTextInputNode::setAllowedChars((__int64)v13, (void **)v18); (*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v13 + 64LL))(v13, (unsigned int)v4); v13[424] = 1; v16 = a1 + 40; if ( !a1 ) v16 = nullptr; *((_QWORD *)v13 + 75) = v16; cocos2d::CCDictionary::setObject(a1[52], (struct cocos2d::CCObject *)v13, v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source