{"type": "func", "start": 4625604, "end": 4625758, "name": "AccountLoginLayer::createTextInput", "pseudocode": "// \n// AccountLoginLayer::createTextInput from 0x4694c4 to 0x46955e (154 bytes)\n// \n// 2 xrefs:\n// > AccountLoginLayer::init @ 0x46983c\n// > AccountLoginLayer::init @ 0x469910\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 *AccountLoginLayer::createTextInput(\n        AccountLoginLayer *a1,\n        cocos2d::CCPoint a2,\n        cocos2d::CCSize a3,\n        const char *a4,\n        int a5)\n{\n  float x; // r6\n  TextInputDelegate *v6; // r5\n  CCTextInputNode *v7; // r4\n  CCTextInputNode_vtbl *v8; // r3\n  float y; // [sp+8h] [bp-8h]\n  float width; // [sp+Ch] [bp-4h]\n  cocos2d::ccColor3B v12; // [sp+Ch] [bp-4h]\n\n  y = a2.y;\n  width = a3.width;\n  x = a2.x;\n  v6 = &a1->TextInputDelegate;\n  v7 = CCTextInputNode::create(\n         *(float *)LODWORD(a2.y),\n         *(float *)(LODWORD(a2.y) + 4) + 10.0,\n         (const char *)LODWORD(a3.width),\n         \"Thonburi\");\n  (*((void (__fastcall **)(TextInputDelegate_vtbl *, CCTextInputNode *, int, _DWORD, int *, const char *, float, float))v6[-10].textChanged\n   + 56))(\n    v6[-10].__vftable,\n    v7,\n    20,\n    *((_DWORD *)v6[-10].textChanged + 56),\n    &dword_18,\n    \"bigFont.fnt\",\n    COERCE_FLOAT(LODWORD(y)),\n    COERCE_FLOAT(LODWORD(width)));\n  CCTextInputNode::setMaxLabelScale(v7, 0.8);\n  v8 = v7->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v7->m_delegate = v6;\n  v8->setTag(v7, LODWORD(a3.height));\n  ((void (__fastcall *)(CCTextInputNode *, float))v7->setPosition)(v7, COERCE_FLOAT(LODWORD(x)));\n  v7->m_textField->setVisible(v7->m_textField, 0);\n  *(_WORD *)&v12.r = -21896;\n  v12.b = -16;\n  CCTextInputNode::setLabelPlaceholderColor(v7, v12);\n  CCTextInputNode::setLabelPlaceholderScale(v7, 0.5);\n  return v7;\n}", "assembly": "; \n; AccountLoginLayer::createTextInput from 0x4694c4 to 0x46955e (154 bytes)\n; \n; 2 xrefs:\n; > AccountLoginLayer::init @ 0x46983c\n; > AccountLoginLayer::init @ 0x469910\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\nVMOV.F32        S15, #10.0                                             ; +0x0, 0x4694c4\nVLDR            S14, [R2,#4]                                           ; +0x4, 0x4694c8\nPUSH            {R0-R6,LR}                                             ; +0x8, 0x4694cc\nMOV             R6, R1                                                 ; +0xa, 0x4694ce\nMOVS            R1, #dword_18                                          ; +0xc, 0x4694d0\nSTR             R1, [SP,#0x10+var_10]; char *                          ; +0xe, 0x4694d2\nLDR             R1, =(aBigfontFnt - 0x4694E0); \"bigFont.fnt\"           ; +0x10, 0x4694d4\nMOV             R5, R0                                                 ; +0x12, 0x4694d6\nADD.W           R5, R5, #0x1F0                                         ; +0x14, 0x4694d8\nADD             R1, PC; \"bigFont.fnt\"                                  ; +0x18, 0x4694dc\nSTR             R1, [SP,#0x10+var_C]; char *                           ; +0x1a, 0x4694de\nLDR             R0, [R2]; this                                         ; +0x1c, 0x4694e0\nMOV             R2, R3; float                                          ; +0x1e, 0x4694e2\nLDR             R3, =(aThonburi - 0x4694EE); \"Thonburi\"                ; +0x20, 0x4694e4\nVADD.F32        S15, S14, S15                                          ; +0x22, 0x4694e6\nADD             R3, PC; \"Thonburi\"                                     ; +0x26, 0x4694ea\nVMOV            R1, S15; float                                         ; +0x28, 0x4694ec\nBL              _ZN15CCTextInputNode6createEffPKcS1_iS1_; CCTextInputNode::create(float,float,char const*,char const*,int,char const*) ; +0x2c, 0x4694f0\nMOVS            R2, #0x14                                              ; +0x30, 0x4694f4\nMOV             R4, R0                                                 ; +0x32, 0x4694f6\nLDR.W           R0, [R5,#-0x28]                                        ; +0x34, 0x4694f8\nMOV             R1, R4                                                 ; +0x38, 0x4694fc\nLDR             R3, [R0]                                               ; +0x3a, 0x4694fe\nLDR.W           R3, [R3,#0xE0]                                         ; +0x3c, 0x469500\nBLX             R3                                                     ; +0x40, 0x469504\nMOV             R0, R4; this                                           ; +0x42, 0x469506\nLDR             R1, flt_469560; float                                  ; +0x44, 0x469508\nBL              _ZN15CCTextInputNode16setMaxLabelScaleEf; CCTextInputNode::setMaxLabelScale(float) ; +0x46, 0x46950a\nLDR             R3, [R4]                                               ; +0x4a, 0x46950e\nSTR.W           R5, [R4,#0x180]                                        ; +0x4c, 0x469510\nMOV             R0, R4                                                 ; +0x50, 0x469514\nLDR             R1, [SP,#0x10+arg_0]                                   ; +0x52, 0x469516\nLDR             R3, [R3,#0x24]                                         ; +0x54, 0x469518\nBLX             R3                                                     ; +0x56, 0x46951a\nLDR             R3, [R4]                                               ; +0x58, 0x46951c\nMOV             R0, R4                                                 ; +0x5a, 0x46951e\nMOV             R1, R6                                                 ; +0x5c, 0x469520\nLDR             R3, [R3,#0x5C]                                         ; +0x5e, 0x469522\nBLX             R3                                                     ; +0x60, 0x469524\nLDR.W           R0, [R4,#0x17C]                                        ; +0x62, 0x469526\nMOVS            R1, #0                                                 ; +0x66, 0x46952a\nLDR             R3, [R0]                                               ; +0x68, 0x46952c\nLDR.W           R3, [R3,#0xA4]                                         ; +0x6a, 0x46952e\nBLX             R3                                                     ; +0x6e, 0x469532\nMOVS            R3, #0x78 ; 'x'                                        ; +0x70, 0x469534\nSTRB.W          R3, [SP,#0x10+var_4]                                   ; +0x72, 0x469536\nMOVS            R3, #0xAA                                              ; +0x76, 0x46953a\nSTRB.W          R3, [SP,#0x10+var_4+1]                                 ; +0x78, 0x46953c\nMOVS            R3, #0xF0                                              ; +0x7c, 0x469540\nSTRB.W          R3, [SP,#0x10+var_4+2]                                 ; +0x7e, 0x469542\nMOV             R0, R4                                                 ; +0x82, 0x469546\nLDR             R1, [SP,#0x10+var_4]                                   ; +0x84, 0x469548\nBL              _ZN15CCTextInputNode24setLabelPlaceholderColorEN7cocos2d10_ccColor3BE; CCTextInputNode::setLabelPlaceholderColor(cocos2d::_ccColor3B) ; +0x86, 0x46954a\nMOV             R0, R4; this                                           ; +0x8a, 0x46954e\nMOV.W           R1, #0x3F000000; float                                 ; +0x8c, 0x469550\nBL              _ZN15CCTextInputNode24setLabelPlaceholderScaleEf; CCTextInputNode::setLabelPlaceholderScale(float) ; +0x90, 0x469554\nMOV             R0, R4                                                 ; +0x94, 0x469558\nADD             SP, SP, #0x10                                          ; +0x96, 0x46955a\nPOP             {R4-R6,PC}                                             ; +0x98, 0x46955c", "xrefs": ["AccountLoginLayer::init @ 0x46983c", "AccountLoginLayer::init @ 0x469910"], "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"}