{"type": "func", "start": 5372246016, "end": 5372246086, "name": "GJColorSetupLayer::onClose", "pseudocode": "// \n// GJColorSetupLayer::onClose from 0x14035f800 to 0x14035f846 (70 bytes)\n// \n// 3 xrefs:\n// > GJColorSetupLayer::init @ 0x14035f2b5\n// > <???> @ 0x1409212c0\n// > <???> @ 0x1409212cc\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:30:52 +0000\n// \n\n__int64 __fastcall GJColorSetupLayer::onClose(__int64 a1)\n{\n  void (__fastcall ***v2)(_QWORD); // rcx\n  __int64 v3; // rdx\n\n  v2 = *(void (__fastcall ****)(_QWORD))(a1 + 760);\n  if ( v2 && *(int *)(a1 + 768) > 0 )\n    (**v2)(v2);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0);\n  LOBYTE(v3) = 1;\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 520LL))(a1, v3);\n}", "assembly": "; \n; GJColorSetupLayer::onClose from 0x14035f800 to 0x14035f846 (70 bytes)\n; \n; 3 xrefs:\n; > GJColorSetupLayer::init @ 0x14035f2b5\n; > <???> @ 0x1409212c0\n; > <???> @ 0x1409212cc\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:30:52 +0000\n; \npush    rbx                                                            ; +0x0, 0x14035f800\nsub     rsp, 20h                                                       ; +0x2, 0x14035f802\nmov     rbx, rcx                                                       ; +0x6, 0x14035f806\nmov     rcx, [rcx+2F8h]                                                ; +0x9, 0x14035f809\ntest    rcx, rcx                                                       ; +0x10, 0x14035f810\njz      short loc_14035F824                                            ; +0x13, 0x14035f813\nmov     edx, [rbx+300h]                                                ; +0x15, 0x14035f815\ntest    edx, edx                                                       ; +0x1b, 0x14035f81b\njle     short loc_14035F824                                            ; +0x1d, 0x14035f81d\nmov     rax, [rcx]                                                     ; +0x1f, 0x14035f81f\ncall    qword ptr [rax]                                                ; +0x22, 0x14035f822\nmov     rax, [rbx]                                                     ; +0x24, 0x14035f824\nxor     edx, edx                                                       ; +0x27, 0x14035f827\nmov     rcx, rbx                                                       ; +0x29, 0x14035f829\ncall    qword ptr [rax+3E0h]                                           ; +0x2c, 0x14035f82c\nmov     rax, [rbx]                                                     ; +0x32, 0x14035f832\nmov     dl, 1                                                          ; +0x35, 0x14035f835\nmov     rcx, rbx                                                       ; +0x37, 0x14035f837\nadd     rsp, 20h                                                       ; +0x3a, 0x14035f83a\npop     rbx                                                            ; +0x3e, 0x14035f83e\njmp     qword ptr [rax+208h]                                           ; +0x3f, 0x14035f83f", "xrefs": ["GJColorSetupLayer::init @ 0x14035f2b5", "<???> @ 0x1409212c0", "<???> @ 0x1409212cc"], "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"}