{"type": "func", "start": 5370035216, "end": 5370035349, "name": "CustomizeObjectLayer::onClear", "pseudocode": "// \n// CustomizeObjectLayer::onClear from 0x140143c10 to 0x140143c95 (133 bytes)\n// \n// 3 xrefs:\n// > CustomizeObjectLayer::textInputOpened @ 0x1401438ff\n// > CustomizeObjectLayer::init @ 0x14014170c\n// > <???> @ 0x14091742c\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 11:27:10 +0000\n// \n\nvoid __fastcall CustomizeObjectLayer::onClear(__int64 a1)\n{\n  __int64 v2; // rcx\n  _QWORD *v3; // rcx\n  __int128 v4; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v5; // [rsp+30h] [rbp-18h]\n  __int64 v6; // [rsp+38h] [rbp-10h]\n\n  v2 = *(_QWORD *)(a1 + 688);\n  if ( v2 )\n  {\n    *(_BYTE *)(a1 + 922) = 1;\n    v4 = 0;\n    LOBYTE(v4) = 0;\n    v5 = 0;\n    v6 = 15;\n    TextGameObject::updateTextObject(v2, &v4, 0);\n    v3 = *(_QWORD **)(a1 + 824);\n    v5 = 0;\n    v4 = 0;\n    LOBYTE(v4) = 0;\n    v6 = 15;\n    CCTextInputNode::setString(v3, &v4);\n    *(_BYTE *)(a1 + 922) = 0;\n  }\n}", "assembly": "; \n; CustomizeObjectLayer::onClear from 0x140143c10 to 0x140143c95 (133 bytes)\n; \n; 3 xrefs:\n; > CustomizeObjectLayer::textInputOpened @ 0x1401438ff\n; > CustomizeObjectLayer::init @ 0x14014170c\n; > <???> @ 0x14091742c\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 11:27:10 +0000\n; \npush    rbx                                                            ; +0x0, 0x140143c10\nsub     rsp, 40h                                                       ; +0x2, 0x140143c12\nmov     rbx, rcx                                                       ; +0x6, 0x140143c16\nmov     rcx, [rcx+2B0h]                                                ; +0x9, 0x140143c19\ntest    rcx, rcx                                                       ; +0x10, 0x140143c20\njz      short loc_140143C8F                                            ; +0x13, 0x140143c23\nxorps   xmm0, xmm0                                                     ; +0x15, 0x140143c25\nmov     byte ptr [rbx+39Ah], 1                                         ; +0x18, 0x140143c28\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x1f, 0x140143c2f\nxor     r8d, r8d                                                       ; +0x24, 0x140143c34\nmov     byte ptr [rsp+48h+var_28], 0                                   ; +0x27, 0x140143c37\nlea     rdx, [rsp+48h+var_28]                                          ; +0x2c, 0x140143c3c\nmov     [rsp+48h+var_18], 0                                            ; +0x31, 0x140143c41\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x3a, 0x140143c4a\ncall    TextGameObject__updateTextObject                               ; +0x43, 0x140143c53\nmov     rcx, [rbx+338h]                                                ; +0x48, 0x140143c58\nlea     rdx, [rsp+48h+var_28]                                          ; +0x4f, 0x140143c5f\nxorps   xmm0, xmm0                                                     ; +0x54, 0x140143c64\nmov     [rsp+48h+var_18], 0                                            ; +0x57, 0x140143c67\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x60, 0x140143c70\nmov     byte ptr [rsp+48h+var_28], 0                                   ; +0x65, 0x140143c75\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x6a, 0x140143c7a\ncall    CCTextInputNode__setString                                     ; +0x73, 0x140143c83\nmov     byte ptr [rbx+39Ah], 0                                         ; +0x78, 0x140143c88\nadd     rsp, 40h                                                       ; +0x7f, 0x140143c8f\npop     rbx                                                            ; +0x83, 0x140143c93\nretn                                                                   ; +0x84, 0x140143c94", "xrefs": ["CustomizeObjectLayer::textInputOpened @ 0x1401438ff", "CustomizeObjectLayer::init @ 0x14014170c", "<???> @ 0x14091742c"], "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"}