{"type": "func", "start": 4301417040, "end": 4301417115, "name": "GJSpecialColorSelect::onClose", "pseudocode": "// \n// GJSpecialColorSelect::onClose from 0x100626a50 to 0x100626a9b (75 bytes)\n// \n// 1 xrefs:\n// > GJSpecialColorSelect::init @ 0x100626229\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJSpecialColorSelect::onClose(GJSpecialColorSelect *a1, cocos2d::CCObject *a2)\n{\n  GJSpecialColorSelectDelegate *m_delegate; // rdi\n\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    ((void (__fastcall *)(GJSpecialColorSelectDelegate *, GJSpecialColorSelect *, _QWORD))m_delegate->colorSelectClosed)(\n      m_delegate,\n      a1,\n      (unsigned int)a1->m_colorID);\n  ((void (__fastcall *)(GJSpecialColorSelect *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(GJSpecialColorSelect *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; GJSpecialColorSelect::onClose from 0x100626a50 to 0x100626a9b (75 bytes)\n; \n; 1 xrefs:\n; > GJSpecialColorSelect::init @ 0x100626229\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100626a50\nmov     rbp, rsp                                                       ; +0x1, 0x100626a51\npush    rbx                                                            ; +0x4, 0x100626a54\npush    rax                                                            ; +0x5, 0x100626a55\nmov     rbx, rdi                                                       ; +0x6, 0x100626a56\nmov     rdi, [rdi+278h]                                                ; +0x9, 0x100626a59\ntest    rdi, rdi                                                       ; +0x10, 0x100626a60\njz      short loc_100626A73                                            ; +0x13, 0x100626a63\nmov     edx, [rbx+280h]                                                ; +0x15, 0x100626a65\nmov     rax, [rdi]                                                     ; +0x1b, 0x100626a6b\nmov     rsi, rbx                                                       ; +0x1e, 0x100626a6e\ncall    qword ptr [rax]                                                ; +0x21, 0x100626a71\nmov     rax, [rbx]                                                     ; +0x23, 0x100626a73\nmov     rdi, rbx                                                       ; +0x26, 0x100626a76\nxor     esi, esi                                                       ; +0x29, 0x100626a79\ncall    qword ptr [rax+420h]                                           ; +0x2b, 0x100626a7b\nmov     rax, [rbx]                                                     ; +0x31, 0x100626a81\nmov     rax, [rax+200h]                                                ; +0x34, 0x100626a84\nmov     rdi, rbx                                                       ; +0x3b, 0x100626a8b\nmov     esi, 1                                                         ; +0x3e, 0x100626a8e\nadd     rsp, 8                                                         ; +0x43, 0x100626a93\npop     rbx                                                            ; +0x47, 0x100626a97\npop     rbp                                                            ; +0x48, 0x100626a98\njmp     rax                                                            ; +0x49, 0x100626a99", "xrefs": ["GJSpecialColorSelect::init @ 0x100626229"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}