{"type": "func", "start": 5372707968, "end": 5372708080, "name": "RewardUnlockLayer::showCloseButton", "pseudocode": "// \n// RewardUnlockLayer::showCloseButton from 0x1403d0480 to 0x1403d04f0 (112 bytes)\n// \n// 2 xrefs:\n// > RewardUnlockLayer::playRewardEffect @ 0x1403d03c3\n// > <???> @ 0x1406d7c4c\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 RewardUnlockLayer::showCloseButton(RewardUnlockLayer *a1)\n{\n  float v1; // xmm3_4\n  bool v3; // dl\n  _BOOL8 v4; // rdx\n  CCLightFlash *v5; // rbx\n  struct cocos2d::CCFadeIn *v6; // rax\n  cocos2d::ccColor3B *v7; // r8\n  float v8; // [rsp+50h] [rbp+28h]\n\n  v3 = 1;\n  a1->m_rewardBtn->setVisible(a1->m_rewardBtn, v3);\n  LOBYTE(v4) = 1;\n  a1->m_rewardBtn->setEnabled(a1->m_rewardBtn, v4);\n  v5 = (CCLightFlash *)a1->m_rewardBtn->getNormalImage(a1->m_rewardBtn);\n  (*(void (__fastcall **)(cocos2d::CCArray **, _QWORD))&v5->m_lightStripArray->m_unknown2)(&v5->m_lightStripArray, 0);\n  v6 = cocos2d::CCFadeIn::create(1.0);\n  cocos2d::CCNode::runAction(v5, (cocos2d::CCPoint)v6, v7, v1, v8);\n}", "assembly": "; \n; RewardUnlockLayer::showCloseButton from 0x1403d0480 to 0x1403d04f0 (112 bytes)\n; \n; 2 xrefs:\n; > RewardUnlockLayer::playRewardEffect @ 0x1403d03c3\n; > <???> @ 0x1406d7c4c\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, 0x1403d0480\nsub     rsp, 20h                                                       ; +0x2, 0x1403d0482\nmov     rbx, rcx                                                       ; +0x6, 0x1403d0486\nmov     dl, 1                                                          ; +0x9, 0x1403d0489\nmov     rcx, [rcx+2B8h]                                                ; +0xb, 0x1403d048b\nmov     rax, [rcx]                                                     ; +0x12, 0x1403d0492\ncall    qword ptr [rax+140h]                                           ; +0x15, 0x1403d0495\nmov     rcx, [rbx+2B8h]                                                ; +0x1b, 0x1403d049b\nmov     dl, 1                                                          ; +0x22, 0x1403d04a2\nmov     rax, [rcx]                                                     ; +0x24, 0x1403d04a4\ncall    qword ptr [rax+398h]                                           ; +0x27, 0x1403d04a7\nmov     rcx, [rbx+2B8h]                                                ; +0x2d, 0x1403d04ad\nmov     rax, [rcx]                                                     ; +0x34, 0x1403d04b4\ncall    qword ptr [rax+3A8h]                                           ; +0x37, 0x1403d04b7\nxor     edx, edx                                                       ; +0x3d, 0x1403d04bd\nmov     rbx, rax                                                       ; +0x3f, 0x1403d04bf\nlea     rcx, [rax+140h]                                                ; +0x42, 0x1403d04c2\nmov     r8, [rcx]                                                      ; +0x49, 0x1403d04c9\ncall    qword ptr [r8+28h]                                             ; +0x4c, 0x1403d04cc\nmovss   xmm0, cs:flt_140622C24                                         ; +0x50, 0x1403d04d0\ncall    cs:?create@CCFadeIn@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFadeIn::create(float) ; +0x58, 0x1403d04d8\nmov     rdx, rax                                                       ; +0x5e, 0x1403d04de\nmov     rcx, rbx                                                       ; +0x61, 0x1403d04e1\nadd     rsp, 20h                                                       ; +0x64, 0x1403d04e4\npop     rbx                                                            ; +0x68, 0x1403d04e8\njmp     cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x69, 0x1403d04e9", "xrefs": ["RewardUnlockLayer::playRewardEffect @ 0x1403d03c3", "<???> @ 0x1406d7c4c"], "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"}