{"type": "func", "start": 8708560, "end": 8708828, "name": "AccountRegisterLayer::createTextInput", "pseudocode": "// \n// AccountRegisterLayer::createTextInput from 0x84e1d0 to 0x84e2dc (268 bytes)\n// \n// 6 xrefs:\n// > AccountRegisterLayer::init @ 0x84e6e4\n// > AccountRegisterLayer::init @ 0x84e83c\n// > AccountRegisterLayer::init @ 0x84e994\n// > AccountRegisterLayer::init @ 0x84eafc\n// > AccountRegisterLayer::init @ 0x84ec4c\n// > <???> @ 0x2f610\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nCCTextInputNode *__fastcall AccountRegisterLayer::createTextInput(\n        TextInputDelegate *a1,\n        const cocos2d::CCPoint *a2,\n        float *a3,\n        const char **a4,\n        int a5)\n{\n  TextInputDelegate *v6; // x20\n  CCTextInputNode *v7; // x19\n  cocos2d::ccColor3B v10; // [xsp+48h] [xbp+48h]\n\n  v6 = a1 + 79;\n  v7 = CCTextInputNode::create(*a3 - 20.0, a3[1] + 10.0, *a4, \"Thonburi\");\n  (*((void (__fastcall **)(TextInputDelegate_vtbl *, CCTextInputNode *, __int64))v6[-7].textChanged + 56))(\n    v6[-7].__vftable,\n    v7,\n    20);\n  CCTextInputNode::setMaxLabelScale(v7, 0.8);\n  v7->m_delegate = v6;\n  v7->setTag(v7, a5);\n  v7->setPosition(v7, a2);\n  v7->m_textField->setVisible(v7->m_textField, 0);\n  *(_WORD *)&v10.r = -21896;\n  v10.b = -16;\n  CCTextInputNode::setLabelPlaceholderColor(v7, v10);\n  CCTextInputNode::setLabelPlaceholderScale(v7, 0.5);\n  return v7;\n}", "assembly": "; \n; AccountRegisterLayer::createTextInput from 0x84e1d0 to 0x84e2dc (268 bytes)\n; \n; 6 xrefs:\n; > AccountRegisterLayer::init @ 0x84e6e4\n; > AccountRegisterLayer::init @ 0x84e83c\n; > AccountRegisterLayer::init @ 0x84e994\n; > AccountRegisterLayer::init @ 0x84eafc\n; > AccountRegisterLayer::init @ 0x84ec4c\n; > <???> @ 0x2f610\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x84e1d0\nFMOV            S0, #20.0                                              ; +0x4, 0x84e1d4\nMOV             X29, SP                                                ; +0x8, 0x84e1d8\nLDR             S1, [X2]                                               ; +0xc, 0x84e1dc\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x10, 0x84e1e0\nLDR             S2, [X2,#4]                                            ; +0x14, 0x84e1e4\nMOV             X21, X1                                                ; +0x18, 0x84e1e8\nFSUB            S0, S1, S0; float                                      ; +0x1c, 0x84e1ec\nADRP            X1, #aThonburi@PAGE; \"Thonburi\"                        ; +0x20, 0x84e1f0\nFMOV            S1, #10.0                                              ; +0x24, 0x84e1f4\nADD             X1, X1, #aThonburi@PAGEOFF; \"Thonburi\"                 ; +0x28, 0x84e1f8\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x2c, 0x84e1fc\nFADD            S1, S2, S1; float                                      ; +0x30, 0x84e200\nMOV             X20, X0                                                ; +0x34, 0x84e204\nLDR             X0, [X3]; this                                         ; +0x38, 0x84e208\nADRL            X3, aBigfontFnt; \"bigFont.fnt\"                         ; +0x3c, 0x84e20c\nMOV             W2, #off_18; char *                                    ; +0x44, 0x84e214\nSTR             X4, [X29,#0x50+var_18]                                 ; +0x48, 0x84e218\nADD             X20, X20, #0x278                                       ; +0x4c, 0x84e21c\nBL              _ZN15CCTextInputNode6createEffPKcS1_iS1_; CCTextInputNode::create(float,float,char const*,char const*,int,char const*) ; +0x50, 0x84e220\nMOV             X19, X0                                                ; +0x54, 0x84e224\nLDUR            X3, [X20,#-0x38]                                       ; +0x58, 0x84e228\nMOV             X1, X0                                                 ; +0x5c, 0x84e22c\nMOV             W2, #0x14                                              ; +0x60, 0x84e230\nMOV             X0, X3                                                 ; +0x64, 0x84e234\nLDR             X3, [X3]                                               ; +0x68, 0x84e238\nLDR             X3, [X3,#0x1C0]                                        ; +0x6c, 0x84e23c\nBLR             X3                                                     ; +0x70, 0x84e240\nLDR             S0, flt_84E2DC; float                                  ; +0x74, 0x84e244\nMOV             X0, X19; this                                          ; +0x78, 0x84e248\nBL              _ZN15CCTextInputNode16setMaxLabelScaleEf; CCTextInputNode::setMaxLabelScale(float) ; +0x7c, 0x84e24c\nSTR             X20, [X19,#0x200]                                      ; +0x80, 0x84e250\nLDR             X2, [X19]                                              ; +0x84, 0x84e254\nMOV             X0, X19                                                ; +0x88, 0x84e258\nLDR             X4, [X29,#0x50+var_18]                                 ; +0x8c, 0x84e25c\nLDR             X2, [X2,#0x48]                                         ; +0x90, 0x84e260\nMOV             W1, W4                                                 ; +0x94, 0x84e264\nBLR             X2                                                     ; +0x98, 0x84e268\nLDR             X2, [X19]                                              ; +0x9c, 0x84e26c\nMOV             X0, X19                                                ; +0xa0, 0x84e270\nMOV             X1, X21                                                ; +0xa4, 0x84e274\nLDR             X2, [X2,#0xB8]                                         ; +0xa8, 0x84e278\nBLR             X2                                                     ; +0xac, 0x84e27c\nLDR             X2, [X19,#0x1F8]                                       ; +0xb0, 0x84e280\nMOV             W1, #0                                                 ; +0xb4, 0x84e284\nMOV             X0, X2                                                 ; +0xb8, 0x84e288\nLDR             X2, [X2]                                               ; +0xbc, 0x84e28c\nLDR             X2, [X2,#0x148]                                        ; +0xc0, 0x84e290\nBLR             X2                                                     ; +0xc4, 0x84e294\nMOV             W0, #0x78 ; 'x'                                        ; +0xc8, 0x84e298\nSTRB            W0, [X29,#0x50+var_8]                                  ; +0xcc, 0x84e29c\nMOV             W0, #0xFFFFFFAA                                        ; +0xd0, 0x84e2a0\nSTRB            W0, [X29,#0x50+var_8+1]                                ; +0xd4, 0x84e2a4\nMOV             W0, #0xFFFFFFF0                                        ; +0xd8, 0x84e2a8\nSTRB            W0, [X29,#0x50+var_8+2]                                ; +0xdc, 0x84e2ac\nMOV             X0, X19                                                ; +0xe0, 0x84e2b0\nLDR             X1, [X29,#0x50+var_8]                                  ; +0xe4, 0x84e2b4\nBL              _ZN15CCTextInputNode24setLabelPlaceholderColorEN7cocos2d10_ccColor3BE; CCTextInputNode::setLabelPlaceholderColor(cocos2d::_ccColor3B) ; +0xe8, 0x84e2b8\nMOV             X0, X19; this                                          ; +0xec, 0x84e2bc\nFMOV            S0, #0.5; float                                        ; +0xf0, 0x84e2c0\nBL              _ZN15CCTextInputNode24setLabelPlaceholderScaleEf; CCTextInputNode::setLabelPlaceholderScale(float) ; +0xf4, 0x84e2c4\nLDR             X21, [SP,#0x50+var_30]                                 ; +0xf8, 0x84e2c8\nMOV             X0, X19                                                ; +0xfc, 0x84e2cc\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x100, 0x84e2d0\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x104, 0x84e2d4\nRET                                                                    ; +0x108, 0x84e2d8", "xrefs": ["AccountRegisterLayer::init @ 0x84e6e4", "AccountRegisterLayer::init @ 0x84e83c", "AccountRegisterLayer::init @ 0x84e994", "AccountRegisterLayer::init @ 0x84eafc", "AccountRegisterLayer::init @ 0x84ec4c", "<???> @ 0x2f610"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}