{"type": "func", "start": 4297471904, "end": 4297472162, "name": "CCMenuItemSpriteExtra::unselected", "pseudocode": "// \n// CCMenuItemSpriteExtra::unselected from 0x1002637a0 to 0x1002638a2 (258 bytes)\n// \n// 4 xrefs:\n// > RowPressItem::unselected @ 0x100240db9\n// > <???> @ 0x100af5b58\n// > <???> @ 0x100b72d80\n// > <???> @ 0x100b7fbb0\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:27:32 +0000\n// \n\nvoid __fastcall CCMenuItemSpriteExtra::unselected(__int64 a1)\n{\n  __int64 v1; // rax\n  int v2; // eax\n  __int64 v3; // rax\n  __int64 v4; // r14\n  __int64 v5; // r14\n  __int64 v6; // rax\n  __int64 v7; // rbx\n\n  if ( *(_BYTE *)(a1 + 339) == 1 )\n  {\n    cocos2d::CCMenuItemSprite::unselected();\n    if ( *(_BYTE *)(a1 + 409) == 1 )\n    {\n      v1 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1072LL))(a1);\n      (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v1 + 960LL))(v1, &unk_100A06D6C);\n    }\n    if ( *(_BYTE *)(a1 + 408) == 1 )\n    {\n      v2 = *(_DWORD *)(a1 + 484);\n      if ( v2 == 1 )\n      {\n        v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1072LL))(a1);\n        cocos2d::CCNode::stopActionByTag(v5, 0);\n        v6 = cocos2d::CCMoveTo::create(a1 + 488, *(float *)(a1 + 480));\n        v7 = cocos2d::CCEaseInOut::create(v6, 2.0);\n        (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 72LL))(v7, 0);\n        cocos2d::CCNode::runAction(v5, v7);\n      }\n      else if ( !v2 )\n      {\n        cocos2d::CCNode::stopActionByTag(a1, 0);\n        v3 = cocos2d::CCScaleTo::create_1(*(float *)(a1 + 480), *(float *)(a1 + 404));\n        v4 = cocos2d::CCEaseBounceOut::create(v3);\n        (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 72LL))(v4, 0);\n        cocos2d::CCNode::runAction(a1, v4);\n      }\n    }\n  }\n}", "assembly": "; \n; CCMenuItemSpriteExtra::unselected from 0x1002637a0 to 0x1002638a2 (258 bytes)\n; \n; 4 xrefs:\n; > RowPressItem::unselected @ 0x100240db9\n; > <???> @ 0x100af5b58\n; > <???> @ 0x100b72d80\n; > <???> @ 0x100b7fbb0\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:27:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x1002637a0\nmov     rbp, rsp                                                       ; +0x1, 0x1002637a1\npush    r14                                                            ; +0x4, 0x1002637a4\npush    rbx                                                            ; +0x6, 0x1002637a6\ncmp     byte ptr [rdi+153h], 1                                         ; +0x7, 0x1002637a7\njnz     loc_100263840                                                  ; +0xe, 0x1002637ae\nmov     rbx, rdi                                                       ; +0x14, 0x1002637b4\ncall    cocos2d__CCMenuItemSprite__unselected                          ; +0x17, 0x1002637b7\ncmp     byte ptr [rbx+199h], 1                                         ; +0x1c, 0x1002637bc\njnz     short loc_1002637E4                                            ; +0x23, 0x1002637c3\nmov     rax, [rbx]                                                     ; +0x25, 0x1002637c5\nmov     rdi, rbx                                                       ; +0x28, 0x1002637c8\ncall    qword ptr [rax+430h]                                           ; +0x2b, 0x1002637cb\nmov     rcx, [rax]                                                     ; +0x31, 0x1002637d1\nlea     rsi, unk_100A06D6C                                             ; +0x34, 0x1002637d4\nmov     rdi, rax                                                       ; +0x3b, 0x1002637db\ncall    qword ptr [rcx+3C0h]                                           ; +0x3e, 0x1002637de\ncmp     byte ptr [rbx+198h], 1                                         ; +0x44, 0x1002637e4\njnz     short loc_100263840                                            ; +0x4b, 0x1002637eb\nmov     eax, [rbx+1E4h]                                                ; +0x4d, 0x1002637ed\ncmp     eax, 1                                                         ; +0x53, 0x1002637f3\njz      short loc_100263845                                            ; +0x56, 0x1002637f6\ntest    eax, eax                                                       ; +0x58, 0x1002637f8\njnz     short loc_100263840                                            ; +0x5a, 0x1002637fa\nmov     rdi, rbx                                                       ; +0x5c, 0x1002637fc\nxor     esi, esi                                                       ; +0x5f, 0x1002637ff\ncall    cocos2d__CCNode__stopActionByTag                               ; +0x61, 0x100263801\nmovss   xmm1, dword ptr [rbx+194h]                                     ; +0x66, 0x100263806\nmovss   xmm0, dword ptr [rbx+1E0h]                                     ; +0x6e, 0x10026380e\ncall    cocos2d__CCScaleTo__create_1                                   ; +0x76, 0x100263816\nmov     rdi, rax                                                       ; +0x7b, 0x10026381b\ncall    cocos2d__CCEaseBounceOut__create                               ; +0x7e, 0x10026381e\nmov     r14, rax                                                       ; +0x83, 0x100263823\nmov     rax, [rax]                                                     ; +0x86, 0x100263826\nmov     rdi, r14                                                       ; +0x89, 0x100263829\nxor     esi, esi                                                       ; +0x8c, 0x10026382c\ncall    qword ptr [rax+48h]                                            ; +0x8e, 0x10026382e\nmov     rdi, rbx                                                       ; +0x91, 0x100263831\nmov     rsi, r14                                                       ; +0x94, 0x100263834\npop     rbx                                                            ; +0x97, 0x100263837\npop     r14                                                            ; +0x98, 0x100263838\npop     rbp                                                            ; +0x9a, 0x10026383a\njmp     cocos2d__CCNode__runAction                                     ; +0x9b, 0x10026383b\npop     rbx                                                            ; +0xa0, 0x100263840\npop     r14                                                            ; +0xa1, 0x100263841\npop     rbp                                                            ; +0xa3, 0x100263843\nretn                                                                   ; +0xa4, 0x100263844\nmov     rax, [rbx]                                                     ; +0xa5, 0x100263845\nmov     rdi, rbx                                                       ; +0xa8, 0x100263848\ncall    qword ptr [rax+430h]                                           ; +0xab, 0x10026384b\nmov     r14, rax                                                       ; +0xb1, 0x100263851\nmov     rdi, rax                                                       ; +0xb4, 0x100263854\nxor     esi, esi                                                       ; +0xb7, 0x100263857\ncall    cocos2d__CCNode__stopActionByTag                               ; +0xb9, 0x100263859\nmovss   xmm0, dword ptr [rbx+1E0h]                                     ; +0xbe, 0x10026385e\nadd     rbx, 1E8h                                                      ; +0xc6, 0x100263866\nmov     rdi, rbx                                                       ; +0xcd, 0x10026386d\ncall    cocos2d__CCMoveTo__create                                      ; +0xd0, 0x100263870\nmovss   xmm0, cs:width                                                 ; +0xd5, 0x100263875\nmov     rdi, rax                                                       ; +0xdd, 0x10026387d\ncall    cocos2d__CCEaseInOut__create                                   ; +0xe0, 0x100263880\nmov     rbx, rax                                                       ; +0xe5, 0x100263885\nmov     rax, [rax]                                                     ; +0xe8, 0x100263888\nmov     rdi, rbx                                                       ; +0xeb, 0x10026388b\nxor     esi, esi                                                       ; +0xee, 0x10026388e\ncall    qword ptr [rax+48h]                                            ; +0xf0, 0x100263890\nmov     rdi, r14                                                       ; +0xf3, 0x100263893\nmov     rsi, rbx                                                       ; +0xf6, 0x100263896\npop     rbx                                                            ; +0xf9, 0x100263899\npop     r14                                                            ; +0xfa, 0x10026389a\npop     rbp                                                            ; +0xfc, 0x10026389c\njmp     cocos2d__CCNode__runAction                                     ; +0xfd, 0x10026389d", "xrefs": ["RowPressItem::unselected @ 0x100240db9", "<???> @ 0x100af5b58", "<???> @ 0x100b72d80", "<???> @ 0x100b7fbb0"], "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"}