{"type": "func", "start": 5792728, "end": 5792880, "name": "AccountLoginLayer::createTextInput", "pseudocode": "// \n// AccountLoginLayer::createTextInput from 0x5863d8 to 0x586470 (152 bytes)\n// \n// 2 xrefs:\n// > AccountLoginLayer::init @ 0x5876d4\n// > AccountLoginLayer::init @ 0x58781a\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:52:58 +0000\n// \n\nint *__fastcall AccountLoginLayer::createTextInput(int a1, int a2, int a3, char *a4, int a5)\n{\n  int v6; // r5\n  int *v7; // r4\n  int v8; // r3\n  int v10; // [sp+Ch] [bp-4h]\n\n  HIBYTE(v10) = HIBYTE(a4);\n  v6 = a1 + 440;\n  v7 = CCTextInputNode::create(\n         *(CCTextInputNode **)a3,\n         *(float *)(a3 + 4) + 10.0,\n         a4,\n         \"Thonburi\",\n         (const char *)&dword_18,\n         \"bigFont.fnt\",\n         (const char *)a3);\n  (*(void (__fastcall **)(_DWORD, int *, int))(**(_DWORD **)(v6 + 20) + 232))(*(_DWORD *)(v6 + 20), v7, 20);\n  CCTextInputNode::setMaxLabelScale((unsigned int)v7, 0.8);\n  v8 = *v7;\n  v7[105] = v6;\n  (*(void (__fastcall **)(int *, int))(v8 + 36))(v7, a5);\n  (*(void (__fastcall **)(int *, int))(*v7 + 92))(v7, a2);\n  (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v7[104] + 172))(v7[104], 0);\n  LOWORD(v10) = -21896;\n  BYTE2(v10) = -16;\n  CCTextInputNode::setLabelPlaceholderColor((unsigned int)v7, v10);\n  CCTextInputNode::setLabelPlaceholderScale((unsigned int)v7, 0.5);\n  return v7;\n}", "assembly": "; \n; AccountLoginLayer::createTextInput from 0x5863d8 to 0x586470 (152 bytes)\n; \n; 2 xrefs:\n; > AccountLoginLayer::init @ 0x5876d4\n; > AccountLoginLayer::init @ 0x58781a\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:52:58 +0000\n; \nVMOV.F32        S15, #10.0                                             ; +0x0, 0x5863d8\nPUSH            {R0-R6,LR}                                             ; +0x4, 0x5863dc\nMOV             R6, R1                                                 ; +0x6, 0x5863de\nVLDR            S14, [R2,#4]                                           ; +0x8, 0x5863e0\nMOVS            R1, #dword_18                                          ; +0xc, 0x5863e4\nSTR             R1, [SP,#0x10+var_10]; char *                          ; +0xe, 0x5863e6\nMOV             R5, R0                                                 ; +0x10, 0x5863e8\nLDR             R1, =(aBigfontFnt - 0x5863F4); \"bigFont.fnt\"           ; +0x12, 0x5863ea\nADD.W           R5, R5, #0x1B8                                         ; +0x14, 0x5863ec\nADD             R1, PC; \"bigFont.fnt\"                                  ; +0x18, 0x5863f0\nSTR             R1, [SP,#0x10+var_C]; char *                           ; +0x1a, 0x5863f2\nLDR             R0, [R2]; this                                         ; +0x1c, 0x5863f4\nMOV             R2, R3; float                                          ; +0x1e, 0x5863f6\nLDR             R3, =(aThonburi - 0x586402); \"Thonburi\"                ; +0x20, 0x5863f8\nVADD.F32        S15, S14, S15                                          ; +0x22, 0x5863fa\nADD             R3, PC; \"Thonburi\"                                     ; +0x26, 0x5863fe\nVMOV            R1, S15; float                                         ; +0x28, 0x586400\nBL              _ZN15CCTextInputNode6createEffPKcS1_iS1_; CCTextInputNode::create(float,float,char const*,char const*,int,char const*) ; +0x2c, 0x586404\nMOVS            R2, #0x14                                              ; +0x30, 0x586408\nMOV             R4, R0                                                 ; +0x32, 0x58640a\nLDR             R0, [R5,#0x14]                                         ; +0x34, 0x58640c\nMOV             R1, R4                                                 ; +0x36, 0x58640e\nLDR             R3, [R0]                                               ; +0x38, 0x586410\nLDR.W           R3, [R3,#0xE8]                                         ; +0x3a, 0x586412\nBLX             R3                                                     ; +0x3e, 0x586416\nMOV             R0, R4; this                                           ; +0x40, 0x586418\nLDR             R1, flt_586470; float                                  ; +0x42, 0x58641a\nBL              _ZN15CCTextInputNode16setMaxLabelScaleEf; CCTextInputNode::setMaxLabelScale(float) ; +0x44, 0x58641c\nLDR             R3, [R4]                                               ; +0x48, 0x586420\nSTR.W           R5, [R4,#0x1A4]                                        ; +0x4a, 0x586422\nMOV             R0, R4                                                 ; +0x4e, 0x586426\nLDR             R1, [SP,#0x10+arg_0]                                   ; +0x50, 0x586428\nLDR             R3, [R3,#0x24]                                         ; +0x52, 0x58642a\nBLX             R3                                                     ; +0x54, 0x58642c\nLDR             R3, [R4]                                               ; +0x56, 0x58642e\nMOV             R0, R4                                                 ; +0x58, 0x586430\nMOV             R1, R6                                                 ; +0x5a, 0x586432\nLDR             R3, [R3,#0x5C]                                         ; +0x5c, 0x586434\nBLX             R3                                                     ; +0x5e, 0x586436\nLDR.W           R0, [R4,#0x1A0]                                        ; +0x60, 0x586438\nMOVS            R1, #0                                                 ; +0x64, 0x58643c\nLDR             R3, [R0]                                               ; +0x66, 0x58643e\nLDR.W           R3, [R3,#0xAC]                                         ; +0x68, 0x586440\nBLX             R3                                                     ; +0x6c, 0x586444\nMOVS            R3, #0x78 ; 'x'                                        ; +0x6e, 0x586446\nSTRB.W          R3, [SP,#0x10+var_4]                                   ; +0x70, 0x586448\nMOVS            R3, #0xAA                                              ; +0x74, 0x58644c\nSTRB.W          R3, [SP,#0x10+var_4+1]                                 ; +0x76, 0x58644e\nMOVS            R3, #0xF0                                              ; +0x7a, 0x586452\nSTRB.W          R3, [SP,#0x10+var_4+2]                                 ; +0x7c, 0x586454\nMOV             R0, R4                                                 ; +0x80, 0x586458\nLDR             R1, [SP,#0x10+var_4]                                   ; +0x82, 0x58645a\nBL              _ZN15CCTextInputNode24setLabelPlaceholderColorEN7cocos2d10_ccColor3BE; CCTextInputNode::setLabelPlaceholderColor(cocos2d::_ccColor3B) ; +0x84, 0x58645c\nMOV             R0, R4; this                                           ; +0x88, 0x586460\nMOV.W           R1, #0x3F000000; float                                 ; +0x8a, 0x586462\nBL              _ZN15CCTextInputNode24setLabelPlaceholderScaleEf; CCTextInputNode::setLabelPlaceholderScale(float) ; +0x8e, 0x586466\nMOV             R0, R4                                                 ; +0x92, 0x58646a\nADD             SP, SP, #0x10                                          ; +0x94, 0x58646c\nPOP             {R4-R6,PC}                                             ; +0x96, 0x58646e", "xrefs": ["AccountLoginLayer::init @ 0x5876d4", "AccountLoginLayer::init @ 0x58781a"], "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"}