{"type": "func", "start": 4048320, "end": 4048386, "name": "CCTextInputNode::onClickTrackNode", "pseudocode": "// \n// CCTextInputNode::onClickTrackNode from 0x3dc5c0 to 0x3dc602 (66 bytes)\n// \n// 1 xrefs:\n// > CCTextInputNode::~CCTextInputNode @ 0x3dce38\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:46:48 +0000\n// \n\nint __fastcall CCTextInputNode::onClickTrackNode(CCTextInputNode *this, int a2)\n{\n  unsigned int v3; // r0\n  int (*v4)(void); // r3\n\n  if ( a2 )\n  {\n    v3 = *((unsigned __int8 *)this + 440);\n    if ( *((_BYTE *)this + 433) )\n      v3 |= 2u;\n    if ( (unsigned int)(*((_DWORD *)this + 126) - 1) <= 2 )\n      v3 |= 4u;\n    PlatformToolbox::setKeyboardInputFlags((PlatformToolbox *)v3, a2);\n    v4 = *(int (**)(void))(**((_DWORD **)this + 104) + 628);\n  }\n  else\n  {\n    v4 = *(int (**)(void))(**((_DWORD **)this + 104) + 632);\n  }\n  return v4();\n}", "assembly": "; \n; CCTextInputNode::onClickTrackNode from 0x3dc5c0 to 0x3dc602 (66 bytes)\n; \n; 1 xrefs:\n; > CCTextInputNode::~CCTextInputNode @ 0x3dce38\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:46:48 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x3dc5c0\nMOV             R4, R0                                                 ; +0x2, 0x3dc5c2\nCBZ             R1, loc_3DC5F2                                         ; +0x4, 0x3dc5c4\nLDRB.W          R3, [R4,#0x1B1]                                        ; +0x6, 0x3dc5c6\nLDRB.W          R0, [R0,#0x1B8]                                        ; +0xa, 0x3dc5ca\nCBZ             R3, loc_3DC5D4                                         ; +0xe, 0x3dc5ce\nORR.W           R0, R0, #2                                             ; +0x10, 0x3dc5d0\nLDR.W           R3, [R4,#0x1F8]                                        ; +0x14, 0x3dc5d4\nSUBS            R3, #1                                                 ; +0x18, 0x3dc5d8\nCMP             R3, #2                                                 ; +0x1a, 0x3dc5da\nIT LS                                                                  ; +0x1c, 0x3dc5dc\nORRLS.W         R0, R0, #4; this                                       ; +0x1e, 0x3dc5de\nBL              _ZN15PlatformToolbox21setKeyboardInputFlagsEi; PlatformToolbox::setKeyboardInputFlags(int) ; +0x22, 0x3dc5e2\nLDR.W           R0, [R4,#0x1A0]                                        ; +0x26, 0x3dc5e6\nLDR             R3, [R0]                                               ; +0x2a, 0x3dc5ea\nLDR.W           R3, [R3,#0x274]                                        ; +0x2c, 0x3dc5ec\nB               loc_3DC5FC                                             ; +0x30, 0x3dc5f0\nLDR.W           R0, [R0,#0x1A0]                                        ; +0x32, 0x3dc5f2\nLDR             R3, [R0]                                               ; +0x36, 0x3dc5f6\nLDR.W           R3, [R3,#0x278]                                        ; +0x38, 0x3dc5f8\nPOP.W           {R4,LR}                                                ; +0x3c, 0x3dc5fc\nBX              R3                                                     ; +0x40, 0x3dc600", "xrefs": ["CCTextInputNode::~CCTextInputNode @ 0x3dce38"], "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"}