{"type": "func", "start": 5373433520, "end": 5373433598, "name": "SelectSFXSortLayer::onSelect", "pseudocode": "// \n// SelectSFXSortLayer::onSelect from 0x1404816b0 to 0x1404816fe (78 bytes)\n// \n// 3 xrefs:\n// > SelectSFXSortLayer::init @ 0x14048153f\n// > <???> @ 0x1406dbae0\n// > <???> @ 0x1406dbaec\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 SelectSFXSortLayer::onSelect(SelectSFXSortLayer *a1, cocos2d::CCObject *a2)\n{\n  AudioSortType v3; // eax\n  SelectSFXSortDelegate *m_delegate; // rcx\n  _BOOL8 v5; // rdx\n\n  v3 = a2->getTag(a2);\n  m_delegate = a1->m_delegate;\n  a1->m_sortType = v3;\n  if ( m_delegate )\n    m_delegate->sortSelectClosed(m_delegate, a1);\n  a1->setKeypadEnabled(a1, 0);\n  LOBYTE(v5) = 1;\n  a1->removeFromParentAndCleanup(a1, v5);\n}", "assembly": "; \n; SelectSFXSortLayer::onSelect from 0x1404816b0 to 0x1404816fe (78 bytes)\n; \n; 3 xrefs:\n; > SelectSFXSortLayer::init @ 0x14048153f\n; > <???> @ 0x1406dbae0\n; > <???> @ 0x1406dbaec\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    rbx                                                            ; +0x0, 0x1404816b0\nsub     rsp, 20h                                                       ; +0x2, 0x1404816b2\nmov     rax, [rdx]                                                     ; +0x6, 0x1404816b6\nmov     rbx, rcx                                                       ; +0x9, 0x1404816b9\nmov     rcx, rdx                                                       ; +0xc, 0x1404816bc\ncall    qword ptr [rax+38h]                                            ; +0xf, 0x1404816bf\nmov     rcx, [rbx+280h]                                                ; +0x12, 0x1404816c2\nmov     [rbx+278h], eax                                                ; +0x19, 0x1404816c9\ntest    rcx, rcx                                                       ; +0x1f, 0x1404816cf\njz      short loc_1404816DC                                            ; +0x22, 0x1404816d2\nmov     rax, [rcx]                                                     ; +0x24, 0x1404816d4\nmov     rdx, rbx                                                       ; +0x27, 0x1404816d7\ncall    qword ptr [rax]                                                ; +0x2a, 0x1404816da\nmov     rax, [rbx]                                                     ; +0x2c, 0x1404816dc\nxor     edx, edx                                                       ; +0x2f, 0x1404816df\nmov     rcx, rbx                                                       ; +0x31, 0x1404816e1\ncall    qword ptr [rax+3D0h]                                           ; +0x34, 0x1404816e4\nmov     rax, [rbx]                                                     ; +0x3a, 0x1404816ea\nmov     dl, 1                                                          ; +0x3d, 0x1404816ed\nmov     rcx, rbx                                                       ; +0x3f, 0x1404816ef\nadd     rsp, 20h                                                       ; +0x42, 0x1404816f2\npop     rbx                                                            ; +0x46, 0x1404816f6\njmp     qword ptr [rax+1F8h]                                           ; +0x47, 0x1404816f7", "xrefs": ["SelectSFXSortLayer::init @ 0x14048153f", "<???> @ 0x1406dbae0", "<???> @ 0x1406dbaec"], "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"}