{"type": "func", "start": 4297482564, "end": 4297482612, "name": "GJSongBrowser::cellPerformedAction", "pseudocode": "// \n// GJSongBrowser::cellPerformedAction from 0x100266144 to 0x100266174 (48 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1007d1698\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\nbool __fastcall GJSongBrowser::cellPerformedAction(\n        GJSongBrowser *a1,\n        TableViewCell *a2,\n        int a3,\n        CellAction a4,\n        cocos2d::CCNode *a5)\n{\n  if ( a3 == 15 && a4 == Click )\n  {\n    a1->m_songID = *(_DWORD *)(*(_QWORD *)&a2[1].m_uID + 316LL);\n    a1->m_selected = 1;\n  }\n  return a3 == 15;\n}", "assembly": "; \n; GJSongBrowser::cellPerformedAction from 0x100266144 to 0x100266174 (48 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1007d1698\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\nCMP             W2, #0xF                                               ; +0x0, 0x100266144\nB.NE            loc_100266168                                          ; +0x4, 0x100266148\nCMP             W3, #1                                                 ; +0x8, 0x10026614c\nB.NE            loc_100266168                                          ; +0xc, 0x100266150\nLDR             X8, [X1,#0x230]                                        ; +0x10, 0x100266154\nLDR             W8, [X8,#0x13C]                                        ; +0x14, 0x100266158\nSTR             W8, [X0,#0x274]                                        ; +0x18, 0x10026615c\nMOV             W8, #1                                                 ; +0x1c, 0x100266160\nSTRB            W8, [X0,#0x278]                                        ; +0x20, 0x100266164\nCMP             W2, #0xF                                               ; +0x24, 0x100266168\nCSET            W0, EQ                                                 ; +0x28, 0x10026616c\nRET                                                                    ; +0x2c, 0x100266170", "xrefs": ["<???> @ 0x1007d1698"], "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"}