{"type": "func", "start": 6180976, "end": 6181328, "name": "ConfigureHSVWidget::createTextInputNode", "pseudocode": "// \n// ConfigureHSVWidget::createTextInputNode from 0x5e5070 to 0x5e51d0 (352 bytes)\n// \n// 3 xrefs:\n// > ConfigureHSVWidget::init @ 0x5e57ec\n// > ConfigureHSVWidget::init @ 0x5e58f0\n// > ConfigureHSVWidget::init @ 0x5e59ea\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:54:19 +0000\n// \n\nint __fastcall ConfigureHSVWidget::createTextInputNode(cocos2d::CCDictionary **a1, int a2, int a3)\n{\n  int v6; // r5\n  void (__fastcall *v7)(int, _BYTE *); // r11\n  int *v8; // r4\n  void (__fastcall *v9)(int *, int); // r9\n  int v10; // r0\n  const char *v12[2]; // [sp+8h] [bp-34h] BYREF\n  _BYTE v13[8]; // [sp+10h] [bp-2Ch] BYREF\n  int v14[3]; // [sp+18h] [bp-24h] BYREF\n  _BYTE v15[16]; // [sp+24h] [bp-18h] BYREF\n\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v15, 0.0, 0.0, 40.0, 40.0);\n  v6 = cocos2d::extension::CCScale9Sprite::create(\"square02_small.png\", v15);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 456))(v6, 100);\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)v12, 60.0, 30.0);\n  (*(void (__fastcall **)(int, const char **))(*(_DWORD *)v6 + 160))(v6, v12);\n  (*((void (__fastcall **)(cocos2d::CCDictionary **, int, int))*a1 + 58))(a1, v6, -1);\n  v7 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v6 + 92);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, 50.0, 0.0);\n  cocos2d::CCPoint::operator+(v15, a2, v13);\n  v7(v6, v15);\n  (*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 80))(v6, 1058642330);\n  v8 = CCTextInputNode::create(\n         (CCTextInputNode *)0x41F00001,\n         24.0,\n         \"Num\",\n         \"Thonburi\",\n         (const char *)&dword_18,\n         \"bigFont.fnt\",\n         v12[0]);\n  (*((void (__fastcall **)(cocos2d::CCDictionary **, int *, int))*a1 + 58))(a1, v8, 20);\n  v9 = *(void (__fastcall **)(int *, int))(*v8 + 92);\n  v10 = (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 96))(v6);\n  v9(v8, v10);\n  CCTextInputNode::setMaxLabelScale((unsigned int)v8, 0.36);\n  CCTextInputNode::setMaxLabelWidth((unsigned int)v8, 60.0);\n  (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v8[104] + 172))(v8[104], 0);\n  v8[106] = 5;\n  v8[126] = 1;\n  memset(v14, 0, sizeof(v14));\n  std::string::__init(v14, \"0123456789.-\", 0xCu);\n  CCTextInputNode::setAllowedChars((int)v8, (unsigned __int8 *)v14);\n  std::string::~string((int)v14);\n  (*(void (__fastcall **)(int *, int))(*v8 + 36))(v8, a3);\n  v8[105] = (int)(a1 + 66);\n  *((_BYTE *)v8 + 324) = 1;\n  return cocos2d::CCDictionary::setObject(a1[80], (cocos2d::CCObject *)v8, a3);\n}", "assembly": "; \n; ConfigureHSVWidget::createTextInputNode from 0x5e5070 to 0x5e51d0 (352 bytes)\n; \n; 3 xrefs:\n; > ConfigureHSVWidget::init @ 0x5e57ec\n; > ConfigureHSVWidget::init @ 0x5e58f0\n; > ConfigureHSVWidget::init @ 0x5e59ea\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:54:19 +0000\n; \nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x5e5070\nSUB             SP, SP, #0x3C                                          ; +0x4, 0x5e5074\nLDR             R6, =(__stack_chk_guard_ptr - 0x5E5082)                ; +0x6, 0x5e5076\nADD             R4, SP, #0x3C+var_18                                   ; +0x8, 0x5e5078\nMOV             R10, R1                                                ; +0xa, 0x5e507a\nMOVS            R1, #0; float                                          ; +0xc, 0x5e507c\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xe, 0x5e507e\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x10, 0x5e5080\nMOV             R7, R0                                                 ; +0x12, 0x5e5082\nMOV             R8, R2                                                 ; +0x14, 0x5e5084\nMOV             R0, R4; this                                           ; +0x16, 0x5e5086\nLDR             R3, [R6]                                               ; +0x18, 0x5e5088\nMOV             R2, R1; float                                          ; +0x1a, 0x5e508a\nADD.W           R9, SP, #0x3C+var_34                                   ; +0x1c, 0x5e508c\nSTR             R3, [SP,#0x3C+var_8]                                   ; +0x20, 0x5e5090\nLDR             R3, flt_5E51D0; float                                  ; +0x22, 0x5e5092\nSTR             R3, [SP,#0x3C+var_3C]; float                           ; +0x24, 0x5e5094\nBL              _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x26, 0x5e5096\nLDR             R0, =(aSquare02SmallP - 0x5E50A2); \"square02_small.png\" ; +0x2a, 0x5e509a\nMOV             R1, R4                                                 ; +0x2c, 0x5e509c\nADD             R0, PC; \"square02_small.png\"                           ; +0x2e, 0x5e509e\nBL              _ZN7cocos2d9extension14CCScale9Sprite6createEPKcNS_6CCRectE; cocos2d::extension::CCScale9Sprite::create(char const*,cocos2d::CCRect) ; +0x30, 0x5e50a0\nMOVS            R1, #0x64 ; 'd'                                        ; +0x34, 0x5e50a4\nLDR             R3, [R0]                                               ; +0x36, 0x5e50a6\nMOV             R5, R0                                                 ; +0x38, 0x5e50a8\nLDR.W           R3, [R3,#0x1C8]                                        ; +0x3a, 0x5e50aa\nBLX             R3                                                     ; +0x3e, 0x5e50ae\nLDR             R2, flt_5E51D4; float                                  ; +0x40, 0x5e50b0\nMOV             R0, R9; this                                           ; +0x42, 0x5e50b2\nLDR             R1, flt_5E51D8; float                                  ; +0x44, 0x5e50b4\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x46, 0x5e50b6\nLDR             R3, [R5]                                               ; +0x4a, 0x5e50ba\nMOV             R0, R5                                                 ; +0x4c, 0x5e50bc\nMOV             R1, R9                                                 ; +0x4e, 0x5e50be\nADD.W           R9, SP, #0x3C+var_2C                                   ; +0x50, 0x5e50c0\nLDR.W           R3, [R3,#0xA0]                                         ; +0x54, 0x5e50c4\nBLX             R3                                                     ; +0x58, 0x5e50c8\nLDR             R3, [R7]                                               ; +0x5a, 0x5e50ca\nMOV             R1, R5                                                 ; +0x5c, 0x5e50cc\nMOV             R0, R7                                                 ; +0x5e, 0x5e50ce\nMOV.W           R2, #0xFFFFFFFF                                        ; +0x60, 0x5e50d0\nLDR.W           R3, [R3,#0xE8]                                         ; +0x64, 0x5e50d4\nBLX             R3                                                     ; +0x68, 0x5e50d8\nLDR             R3, [R5]                                               ; +0x6a, 0x5e50da\nMOV             R0, R9; this                                           ; +0x6c, 0x5e50dc\nLDR             R1, flt_5E51DC; float                                  ; +0x6e, 0x5e50de\nMOVS            R2, #0; float                                          ; +0x70, 0x5e50e0\nLDR.W           R11, [R3,#0x5C]                                        ; +0x72, 0x5e50e2\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x76, 0x5e50e6\nMOV             R2, R9                                                 ; +0x7a, 0x5e50ea\nMOV             R0, R4                                                 ; +0x7c, 0x5e50ec\nMOV             R1, R10                                                ; +0x7e, 0x5e50ee\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x80, 0x5e50f0\nMOV             R0, R5                                                 ; +0x84, 0x5e50f4\nMOV             R1, R4                                                 ; +0x86, 0x5e50f6\nBLX             R11                                                    ; +0x88, 0x5e50f8\nLDR             R3, [R5]                                               ; +0x8a, 0x5e50fa\nMOV             R0, R5                                                 ; +0x8c, 0x5e50fc\nLDR             R1, =0x3F19999A                                        ; +0x8e, 0x5e50fe\nLDR             R3, [R3,#0x50]                                         ; +0x90, 0x5e5100\nBLX             R3                                                     ; +0x92, 0x5e5102\nMOVS            R3, #dword_18                                          ; +0x94, 0x5e5104\nSTR             R3, [SP,#0x3C+var_3C]; char *                          ; +0x96, 0x5e5106\nLDR             R3, =(aBigfontFnt - 0x5E5110); \"bigFont.fnt\"           ; +0x98, 0x5e5108\nLDR             R2, =(aNum - 0x5E5116); \"Num\"                          ; +0x9a, 0x5e510a\nADD             R3, PC; \"bigFont.fnt\"                                  ; +0x9c, 0x5e510c\nSTR             R3, [SP,#0x3C+var_38]; char *                          ; +0x9e, 0x5e510e\nLDR             R3, =(aThonburi - 0x5E511A); \"Thonburi\"                ; +0xa0, 0x5e5110\nADD             R2, PC; \"Num\"                                          ; +0xa2, 0x5e5112\nLDR             R1, flt_5E51E4; float                                  ; +0xa4, 0x5e5114\nADD             R3, PC; \"Thonburi\"                                     ; +0xa6, 0x5e5116\nLDR             R0, =0x41F00001; this                                  ; +0xa8, 0x5e5118\nBL              _ZN15CCTextInputNode6createEffPKcS1_iS1_; CCTextInputNode::create(float,float,char const*,char const*,int,char const*) ; +0xaa, 0x5e511a\nLDR             R3, [R7]                                               ; +0xae, 0x5e511e\nMOVS            R2, #0x14                                              ; +0xb0, 0x5e5120\nLDR.W           R3, [R3,#0xE8]                                         ; +0xb2, 0x5e5122\nMOV             R4, R0                                                 ; +0xb6, 0x5e5126\nMOV             R0, R7                                                 ; +0xb8, 0x5e5128\nMOV             R1, R4                                                 ; +0xba, 0x5e512a\nBLX             R3                                                     ; +0xbc, 0x5e512c\nLDR             R3, [R4]                                               ; +0xbe, 0x5e512e\nMOV             R0, R5                                                 ; +0xc0, 0x5e5130\nLDR.W           R9, [R3,#0x5C]                                         ; +0xc2, 0x5e5132\nLDR             R3, [R5]                                               ; +0xc6, 0x5e5136\nADD             R5, SP, #0x3C+var_24                                   ; +0xc8, 0x5e5138\nLDR             R3, [R3,#0x60]                                         ; +0xca, 0x5e513a\nBLX             R3                                                     ; +0xcc, 0x5e513c\nMOV             R1, R0                                                 ; +0xce, 0x5e513e\nMOV             R0, R4                                                 ; +0xd0, 0x5e5140\nBLX             R9                                                     ; +0xd2, 0x5e5142\nMOV             R0, R4; this                                           ; +0xd4, 0x5e5144\nLDR             R1, flt_5E51EC; float                                  ; +0xd6, 0x5e5146\nBL              _ZN15CCTextInputNode16setMaxLabelScaleEf; CCTextInputNode::setMaxLabelScale(float) ; +0xd8, 0x5e5148\nMOV             R0, R4; this                                           ; +0xdc, 0x5e514c\nLDR             R1, flt_5E51D8; float                                  ; +0xde, 0x5e514e\nBL              _ZN15CCTextInputNode16setMaxLabelWidthEf; CCTextInputNode::setMaxLabelWidth(float) ; +0xe0, 0x5e5150\nLDR.W           R0, [R4,#0x1A0]                                        ; +0xe4, 0x5e5154\nMOVS            R1, #0                                                 ; +0xe8, 0x5e5158\nLDR             R3, [R0]                                               ; +0xea, 0x5e515a\nLDR.W           R3, [R3,#0xAC]                                         ; +0xec, 0x5e515c\nBLX             R3                                                     ; +0xf0, 0x5e5160\nLDR             R1, =(a0123456789_3 - 0x5E5170); \"0123456789.-\"        ; +0xf2, 0x5e5162\nMOVS            R3, #5                                                 ; +0xf4, 0x5e5164\nMOV             R0, R5                                                 ; +0xf6, 0x5e5166\nSTR.W           R3, [R4,#0x1A8]                                        ; +0xf8, 0x5e5168\nADD             R1, PC; \"0123456789.-\"                                 ; +0xfc, 0x5e516c\nMOVS            R3, #1                                                 ; +0xfe, 0x5e516e\nMOVS            R2, #0xC                                               ; +0x100, 0x5e5170\nSTR.W           R3, [R4,#0x1F8]                                        ; +0x102, 0x5e5172\nMOVS            R3, #0                                                 ; +0x106, 0x5e5176\nSTR             R3, [SP,#0x3C+var_24]                                  ; +0x108, 0x5e5178\nSTR             R3, [SP,#0x3C+var_20]                                  ; +0x10a, 0x5e517a\nSTR             R3, [SP,#0x3C+var_1C]                                  ; +0x10c, 0x5e517c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x10e, 0x5e517e\nMOV             R0, R4                                                 ; +0x112, 0x5e5182\nMOV             R1, R5                                                 ; +0x114, 0x5e5184\nBL              _ZN15CCTextInputNode15setAllowedCharsENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setAllowedChars(std::string) ; +0x116, 0x5e5186\nMOV             R0, R5                                                 ; +0x11a, 0x5e518a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x11c, 0x5e518c\nLDR             R3, [R4]                                               ; +0x120, 0x5e5190\nMOV             R0, R4                                                 ; +0x122, 0x5e5192\nMOV             R1, R8                                                 ; +0x124, 0x5e5194\nLDR             R3, [R3,#0x24]                                         ; +0x126, 0x5e5196\nBLX             R3                                                     ; +0x128, 0x5e5198\nADD.W           R3, R7, #0x108                                         ; +0x12a, 0x5e519a\nSTR.W           R3, [R4,#0x1A4]                                        ; +0x12e, 0x5e519e\nMOVS            R3, #1                                                 ; +0x132, 0x5e51a2\nSTRB.W          R3, [R4,#0x144]                                        ; +0x134, 0x5e51a4\nMOV             R2, R8; int                                            ; +0x138, 0x5e51a8\nLDR.W           R0, [R7,#0x140]; this                                  ; +0x13a, 0x5e51aa\nMOV             R1, R4; cocos2d::CCObject *                            ; +0x13e, 0x5e51ae\nBL              _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectEi; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,int) ; +0x140, 0x5e51b0\nLDR             R2, [SP,#0x3C+var_8]                                   ; +0x144, 0x5e51b4\nLDR             R3, [R6]                                               ; +0x146, 0x5e51b6\nCMP             R2, R3                                                 ; +0x148, 0x5e51b8\nBEQ             loc_5E51CA                                             ; +0x14a, 0x5e51ba\nBLX             __stack_chk_fail                                       ; +0x14c, 0x5e51bc\nMOV             R0, R5                                                 ; +0x150, 0x5e51c0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x152, 0x5e51c2\nBL              __cxa_end_cleanup                                      ; +0x156, 0x5e51c6\nADD             SP, SP, #0x3C ; '<'                                    ; +0x15a, 0x5e51ca\nPOP.W           {R4-R11,PC}                                            ; +0x15c, 0x5e51cc", "xrefs": ["ConfigureHSVWidget::init @ 0x5e57ec", "ConfigureHSVWidget::init @ 0x5e58f0", "ConfigureHSVWidget::init @ 0x5e59ea"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}