{"type": "func", "start": 10027548, "end": 10027808, "name": "AccountLoginLayer::createTextInput", "pseudocode": "// \n// AccountLoginLayer::createTextInput from 0x99021c to 0x990320 (260 bytes)\n// \n// 3 xrefs:\n// > AccountLoginLayer::init @ 0x991ad0\n// > AccountLoginLayer::init @ 0x991c34\n// > <???> @ 0xcc220\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:57:58 +0000\n// \n\n__int64 __fastcall AccountLoginLayer::createTextInput(\n        __int64 a1,\n        __int64 a2,\n        float *a3,\n        CCTextInputNode *a4,\n        const char *a5)\n{\n  __int64 v6; // x20\n  __int64 v7; // x19\n  unsigned int v9; // [xsp+38h] [xbp+38h]\n  int v10; // [xsp+48h] [xbp+48h]\n\n  v9 = (unsigned int)a5;\n  v6 = a1 + 544;\n  v7 = CCTextInputNode::create(a4, *a3, a3[1] + 10.0, \"Thonburi\", (const char *)&off_18, \"bigFont.fnt\", a5);\n  (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v6 + 40) + 464LL))(*(_QWORD *)(v6 + 40), v7, 20);\n  CCTextInputNode::setMaxLabelScale((CCTextInputNode *)v7, 0.8);\n  *(_QWORD *)(v7 + 584) = v6;\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 72LL))(v7, v9);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 184LL))(v7, a2);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v7 + 576) + 344LL))(*(_QWORD *)(v7 + 576), 0);\n  LOWORD(v10) = -21896;\n  BYTE2(v10) = -16;\n  CCTextInputNode::setLabelPlaceholderColor(v7, v10);\n  CCTextInputNode::setLabelPlaceholderScale((CCTextInputNode *)v7, 0.5);\n  return v7;\n}", "assembly": "; \n; AccountLoginLayer::createTextInput from 0x99021c to 0x990320 (260 bytes)\n; \n; 3 xrefs:\n; > AccountLoginLayer::init @ 0x991ad0\n; > AccountLoginLayer::init @ 0x991c34\n; > <???> @ 0xcc220\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:57:58 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x99021c\nFMOV            S1, #10.0                                              ; +0x4, 0x990220\nMOV             X29, SP                                                ; +0x8, 0x990224\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0xc, 0x990228\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x10, 0x99022c\nMOV             X20, X0                                                ; +0x14, 0x990230\nMOV             X21, X1                                                ; +0x18, 0x990234\nMOV             X0, X3; this                                           ; +0x1c, 0x990238\nLDR             S2, [X2,#4]                                            ; +0x20, 0x99023c\nADRP            X1, #aThonburi@PAGE; \"Thonburi\"                        ; +0x24, 0x990240\nLDR             S0, [X2]; float                                        ; +0x28, 0x990244\nADRP            X3, #aBigfontFnt@PAGE; \"bigFont.fnt\"                   ; +0x2c, 0x990248\nFADD            S1, S2, S1; float                                      ; +0x30, 0x99024c\nADD             X1, X1, #aThonburi@PAGEOFF; \"Thonburi\"                 ; +0x34, 0x990250\nADD             X3, X3, #aBigfontFnt@PAGEOFF; \"bigFont.fnt\"            ; +0x38, 0x990254\nMOV             W2, #off_18; char *                                    ; +0x3c, 0x990258\nSTR             X4, [X29,#0x50+var_18]                                 ; +0x40, 0x99025c\nADD             X20, X20, #0x220                                       ; +0x44, 0x990260\nBL              _ZN15CCTextInputNode6createEffPKcS1_iS1_; CCTextInputNode::create(float,float,char const*,char const*,int,char const*) ; +0x48, 0x990264\nMOV             X19, X0                                                ; +0x4c, 0x990268\nLDR             X3, [X20,#0x28]                                        ; +0x50, 0x99026c\nMOV             X1, X0                                                 ; +0x54, 0x990270\nMOV             W2, #0x14                                              ; +0x58, 0x990274\nMOV             X0, X3                                                 ; +0x5c, 0x990278\nLDR             X3, [X3]                                               ; +0x60, 0x99027c\nLDR             X3, [X3,#0x1D0]                                        ; +0x64, 0x990280\nBLR             X3                                                     ; +0x68, 0x990284\nLDR             S0, flt_990320; float                                  ; +0x6c, 0x990288\nMOV             X0, X19; this                                          ; +0x70, 0x99028c\nBL              _ZN15CCTextInputNode16setMaxLabelScaleEf; CCTextInputNode::setMaxLabelScale(float) ; +0x74, 0x990290\nSTR             X20, [X19,#0x248]                                      ; +0x78, 0x990294\nLDR             X2, [X19]                                              ; +0x7c, 0x990298\nMOV             X0, X19                                                ; +0x80, 0x99029c\nLDR             X4, [X29,#0x50+var_18]                                 ; +0x84, 0x9902a0\nLDR             X2, [X2,#0x48]                                         ; +0x88, 0x9902a4\nMOV             W1, W4                                                 ; +0x8c, 0x9902a8\nBLR             X2                                                     ; +0x90, 0x9902ac\nLDR             X2, [X19]                                              ; +0x94, 0x9902b0\nMOV             X0, X19                                                ; +0x98, 0x9902b4\nMOV             X1, X21                                                ; +0x9c, 0x9902b8\nLDR             X2, [X2,#0xB8]                                         ; +0xa0, 0x9902bc\nBLR             X2                                                     ; +0xa4, 0x9902c0\nLDR             X2, [X19,#0x240]                                       ; +0xa8, 0x9902c4\nMOV             W1, #0                                                 ; +0xac, 0x9902c8\nMOV             X0, X2                                                 ; +0xb0, 0x9902cc\nLDR             X2, [X2]                                               ; +0xb4, 0x9902d0\nLDR             X2, [X2,#0x158]                                        ; +0xb8, 0x9902d4\nBLR             X2                                                     ; +0xbc, 0x9902d8\nMOV             W0, #0x78 ; 'x'                                        ; +0xc0, 0x9902dc\nSTRB            W0, [X29,#0x50+var_8]                                  ; +0xc4, 0x9902e0\nMOV             W0, #0xFFFFFFAA                                        ; +0xc8, 0x9902e4\nSTRB            W0, [X29,#0x50+var_8+1]                                ; +0xcc, 0x9902e8\nMOV             W0, #0xFFFFFFF0                                        ; +0xd0, 0x9902ec\nSTRB            W0, [X29,#0x50+var_8+2]                                ; +0xd4, 0x9902f0\nMOV             X0, X19                                                ; +0xd8, 0x9902f4\nLDR             X1, [X29,#0x50+var_8]                                  ; +0xdc, 0x9902f8\nBL              _ZN15CCTextInputNode24setLabelPlaceholderColorEN7cocos2d10_ccColor3BE; CCTextInputNode::setLabelPlaceholderColor(cocos2d::_ccColor3B) ; +0xe0, 0x9902fc\nMOV             X0, X19; this                                          ; +0xe4, 0x990300\nFMOV            S0, #0.5; float                                        ; +0xe8, 0x990304\nBL              _ZN15CCTextInputNode24setLabelPlaceholderScaleEf; CCTextInputNode::setLabelPlaceholderScale(float) ; +0xec, 0x990308\nLDR             X21, [SP,#0x50+var_30]                                 ; +0xf0, 0x99030c\nMOV             X0, X19                                                ; +0xf4, 0x990310\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0xf8, 0x990314\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0xfc, 0x990318\nRET                                                                    ; +0x100, 0x99031c", "xrefs": ["AccountLoginLayer::init @ 0x991ad0", "AccountLoginLayer::init @ 0x991c34", "<???> @ 0xcc220"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}