{"type": "func", "start": 4301143024, "end": 4301143063, "name": "CustomSFXWidget::onSelect", "pseudocode": "// \n// CustomSFXWidget::onSelect from 0x1005e3bf0 to 0x1005e3c17 (39 bytes)\n// \n// 3 xrefs:\n// > CustomSFXWidget::init @ 0x1005e30a2\n// > CustomSFXWidget::init @ 0x1005e3336\n// > CustomSFXWidget::init @ 0x1005e340b\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 CustomSFXWidget::onSelect(CustomSFXWidget *a1, cocos2d::CCObject *a2)\n{\n  CustomSFXDelegate *m_delegate; // rdi\n\n  if ( a1->m_sfxObject )\n  {\n    m_delegate = a1->m_delegate;\n    if ( m_delegate )\n      ((void (__fastcall *)(CustomSFXDelegate *))m_delegate->sfxObjectSelected)(m_delegate);\n  }\n}", "assembly": "; \n; CustomSFXWidget::onSelect from 0x1005e3bf0 to 0x1005e3c17 (39 bytes)\n; \n; 3 xrefs:\n; > CustomSFXWidget::init @ 0x1005e30a2\n; > CustomSFXWidget::init @ 0x1005e3336\n; > CustomSFXWidget::init @ 0x1005e340b\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, 0x1005e3bf0\nmov     rbp, rsp                                                       ; +0x1, 0x1005e3bf1\nmov     rsi, [rdi+150h]                                                ; +0x4, 0x1005e3bf4\ntest    rsi, rsi                                                       ; +0xb, 0x1005e3bfb\njz      short loc_1005E3C15                                            ; +0xe, 0x1005e3bfe\nmov     rdi, [rdi+1B8h]                                                ; +0x10, 0x1005e3c00\ntest    rdi, rdi                                                       ; +0x17, 0x1005e3c07\njz      short loc_1005E3C15                                            ; +0x1a, 0x1005e3c0a\nmov     rax, [rdi]                                                     ; +0x1c, 0x1005e3c0c\nmov     rax, [rax]                                                     ; +0x1f, 0x1005e3c0f\npop     rbp                                                            ; +0x22, 0x1005e3c12\njmp     rax                                                            ; +0x23, 0x1005e3c13\npop     rbp                                                            ; +0x25, 0x1005e3c15\nretn                                                                   ; +0x26, 0x1005e3c16", "xrefs": ["CustomSFXWidget::init @ 0x1005e30a2", "CustomSFXWidget::init @ 0x1005e3336", "CustomSFXWidget::init @ 0x1005e340b"], "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"}