{"type": "func", "start": 4296995504, "end": 4296995580, "name": "GJColorSetupLayer::onClose", "pseudocode": "// \n// GJColorSetupLayer::onClose from 0x1001ef2b0 to 0x1001ef2fc (76 bytes)\n// \n// 1 xrefs:\n// > GJColorSetupLayer::init @ 0x1001eeeb6\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:32 +0000\n// \n\n__int64 __fastcall GJColorSetupLayer::onClose(__int64 a1)\n{\n  void (__fastcall ***v2)(_QWORD); // rdi\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 + 1072LL))(a1, 0);\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);\n}", "assembly": "; \n; GJColorSetupLayer::onClose from 0x1001ef2b0 to 0x1001ef2fc (76 bytes)\n; \n; 1 xrefs:\n; > GJColorSetupLayer::init @ 0x1001eeeb6\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:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001ef2b0\nmov     rbp, rsp                                                       ; +0x1, 0x1001ef2b1\npush    rbx                                                            ; +0x4, 0x1001ef2b4\npush    rax                                                            ; +0x5, 0x1001ef2b5\nmov     rbx, rdi                                                       ; +0x6, 0x1001ef2b6\nmov     rdi, [rdi+2F8h]                                                ; +0x9, 0x1001ef2b9\ntest    rdi, rdi                                                       ; +0x10, 0x1001ef2c0\njz      short loc_1001EF2D4                                            ; +0x13, 0x1001ef2c3\nmov     esi, [rbx+300h]                                                ; +0x15, 0x1001ef2c5\ntest    esi, esi                                                       ; +0x1b, 0x1001ef2cb\njle     short loc_1001EF2D4                                            ; +0x1d, 0x1001ef2cd\nmov     rax, [rdi]                                                     ; +0x1f, 0x1001ef2cf\ncall    qword ptr [rax]                                                ; +0x22, 0x1001ef2d2\nmov     rax, [rbx]                                                     ; +0x24, 0x1001ef2d4\nmov     rdi, rbx                                                       ; +0x27, 0x1001ef2d7\nxor     esi, esi                                                       ; +0x2a, 0x1001ef2da\ncall    qword ptr [rax+430h]                                           ; +0x2c, 0x1001ef2dc\nmov     rax, [rbx]                                                     ; +0x32, 0x1001ef2e2\nmov     rax, [rax+210h]                                                ; +0x35, 0x1001ef2e5\nmov     rdi, rbx                                                       ; +0x3c, 0x1001ef2ec\nmov     esi, 1                                                         ; +0x3f, 0x1001ef2ef\nadd     rsp, 8                                                         ; +0x44, 0x1001ef2f4\npop     rbx                                                            ; +0x48, 0x1001ef2f8\npop     rbp                                                            ; +0x49, 0x1001ef2f9\njmp     rax                                                            ; +0x4a, 0x1001ef2fa", "xrefs": ["GJColorSetupLayer::init @ 0x1001eeeb6"], "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"}