{"type": "func", "start": 4297036992, "end": 4297037030, "name": "CustomSongLayer::textInputOpened", "pseudocode": "// \n// CustomSongLayer::textInputOpened from 0x1001f94c0 to 0x1001f94e6 (38 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100ae23c0\n// \n// This function is hookable on this platform (idp: pc, 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:26:49 +0000\n// \n\nvoid __fastcall CustomSongLayer::textInputOpened(__int64 a1, __int64 a2)\n{\n  void *v2[3]; // [rsp+8h] [rbp-18h] BYREF\n\n  CCTextInputNode::getString(v2, a2);\n  if ( ((__int64)v2[0] & 1) != 0 )\n    operator delete(v2[2]);\n}", "assembly": "; \n; CustomSongLayer::textInputOpened from 0x1001f94c0 to 0x1001f94e6 (38 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100ae23c0\n; \n; This function is hookable on this platform (idp: pc, 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:26:49 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001f94c0\nmov     rbp, rsp                                                       ; +0x1, 0x1001f94c1\nsub     rsp, 20h                                                       ; +0x4, 0x1001f94c4\nlea     rdi, [rbp+var_18]                                              ; +0x8, 0x1001f94c8\ncall    CCTextInputNode__getString                                     ; +0xc, 0x1001f94cc\ntest    [rbp+var_18], 1                                                ; +0x11, 0x1001f94d1\njz      short loc_1001F94E0                                            ; +0x15, 0x1001f94d5\nmov     rdi, [rbp+__p]; __p                                            ; +0x17, 0x1001f94d7\ncall    __ZdlPv; operator delete(void *)                               ; +0x1b, 0x1001f94db\nadd     rsp, 20h                                                       ; +0x20, 0x1001f94e0\npop     rbp                                                            ; +0x24, 0x1001f94e4\nretn                                                                   ; +0x25, 0x1001f94e5", "xrefs": ["<???> @ 0x100ae23c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}