{"type": "func", "start": 5369324064, "end": 5369324465, "name": "CommunityCreditsPage::show", "pseudocode": "// \n// CommunityCreditsPage::show from 0x140096220 to 0x1400963b1 (401 bytes)\n// \n// 4 xrefs:\n// > GJShopLayer::onCommunityCredits @ 0x1402abbc3\n// > GJShopLayer::onCommunityCredits @ 0x1402abbaa\n// > <???> @ 0x140540870\n// > <???> @ 0x1406c7248\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 CommunityCreditsPage::show(CommunityCreditsPage *a1)\n{\n  float v1; // xmm3_4\n  float v3; // xmm6_4\n  const struct cocos2d::CCPoint *v4; // rax\n  cocos2d::CCLayer_vtbl *v5; // rbx\n  const cocos2d::CCPoint *v6; // rax\n  struct cocos2d::CCMoveTo *v7; // rax\n  struct cocos2d::CCEaseElasticOut *v8; // rax\n  cocos2d::ccColor3B *v9; // r8\n  __int64 v10; // rcx\n  cocos2d::CCScene *m_scene; // rbx\n  int v12; // eax\n  struct cocos2d::CCFadeTo *v13; // rax\n  cocos2d::ccColor3B *v14; // r8\n  _BOOL8 v15; // rdx\n  float v16; // [rsp+20h] [rbp-18h]\n  float v17; // [rsp+20h] [rbp-18h]\n  cocos2d::CCPoint v18; // [rsp+40h] [rbp+8h] BYREF\n  cocos2d::CCPoint v19; // [rsp+48h] [rbp+10h] BYREF\n\n  if ( a1->m_noElasticity )\n  {\n    FLAlertLayer::show(a1);\n  }\n  else\n  {\n    v3 = (float)a1->getOpacity(&a1->cocos2d::CCRGBAProtocol);\n    v4 = a1->m_mainLayer->getPosition_0(a1->m_mainLayer);\n    cocos2d::CCPoint::CCPoint(&v18, v4);\n    v5 = a1->m_mainLayer->FLAlertLayer::__vftable;\n    cocos2d::CCPoint::CCPoint(&v19, v18.x, 160.0);\n    v5->setPosition_0(a1->m_mainLayer, v6);\n    v7 = cocos2d::CCMoveTo::create(0.5, &v18);\n    v8 = cocos2d::CCEaseElasticOut::create(v7, 0.60000002);\n    cocos2d::CCNode::runAction((CCLightFlash *)a1->m_mainLayer, (cocos2d::CCPoint)v8, v9, v1, v16);\n    m_scene = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v10) + 264);\n    if ( a1->m_scene )\n    {\n      m_scene = (cocos2d::CCScene *)a1->m_scene;\n    }\n    else\n    {\n      if ( cocos2d::CCScene::getHighestChildZ(m_scene) + 1 >= 105 )\n        v12 = cocos2d::CCScene::getHighestChildZ(m_scene) + 1;\n      else\n        v12 = 105;\n      a1->m_ZOrder = v12;\n    }\n    if ( !a1->m_ZOrder )\n      a1->m_ZOrder = 105;\n    ((void (__fastcall *)(cocos2d::CCScene *, CommunityCreditsPage *))m_scene->addChild_0)(m_scene, a1);\n    a1->setOpacity(&a1->cocos2d::CCRGBAProtocol, 0);\n    v13 = cocos2d::CCFadeTo::create(0.14, (int)v3);\n    cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v13, v14, v1, v17);\n    LOBYTE(v15) = 1;\n    a1->setVisible(a1, v15);\n  }\n}", "assembly": "; \n; CommunityCreditsPage::show from 0x140096220 to 0x1400963b1 (401 bytes)\n; \n; 4 xrefs:\n; > GJShopLayer::onCommunityCredits @ 0x1402abbc3\n; > GJShopLayer::onCommunityCredits @ 0x1402abbaa\n; > <???> @ 0x140540870\n; > <???> @ 0x1406c7248\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    rdi                                                            ; +0x0, 0x140096220\nsub     rsp, 30h                                                       ; +0x2, 0x140096222\ncmp     byte ptr [rcx+24Ch], 0                                         ; +0x6, 0x140096226\nmov     rdi, rcx                                                       ; +0xd, 0x14009622d\njz      short loc_14009623D                                            ; +0x10, 0x140096230\ncall    FLAlertLayer__show                                             ; +0x12, 0x140096232\nadd     rsp, 30h                                                       ; +0x17, 0x140096237\npop     rdi                                                            ; +0x1b, 0x14009623b\nretn                                                                   ; +0x1c, 0x14009623c\nmov     rax, [rcx+198h]                                                ; +0x1d, 0x14009623d\nadd     rcx, 198h                                                      ; +0x24, 0x140096244\nmov     [rsp+38h+arg_10], rbx                                          ; +0x2b, 0x14009624b\nmov     [rsp+38h+arg_18], rsi                                          ; +0x30, 0x140096250\nmovaps  xmmword ptr [rsp+38h+var_18], xmm6                             ; +0x35, 0x140096255\ncall    qword ptr [rax+20h]                                            ; +0x3a, 0x14009625a\nmov     rcx, [rdi+240h]                                                ; +0x3d, 0x14009625d\nmovzx   eax, al                                                        ; +0x44, 0x140096264\nmovd    xmm6, eax                                                      ; +0x47, 0x140096267\nmov     rax, [rcx]                                                     ; +0x4b, 0x14009626b\ncvtdq2ps xmm6, xmm6                                                    ; +0x4e, 0x14009626e\ncall    qword ptr [rax+0C8h]                                           ; +0x51, 0x140096271\nmov     rdx, rax                                                       ; +0x57, 0x140096277\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x5a, 0x14009627a\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x5f, 0x14009627f\nmov     rax, [rdi+240h]                                                ; +0x65, 0x140096285\nlea     rcx, [rsp+38h+arg_8]                                           ; +0x6c, 0x14009628c\nmovss   xmm2, cs:dword_140623370                                       ; +0x71, 0x140096291\nmovss   xmm1, dword ptr [rsp+38h+arg_0]                                ; +0x79, 0x140096299\nmov     rbx, [rax]                                                     ; +0x7f, 0x14009629f\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x82, 0x1400962a2\nmov     rcx, [rdi+240h]                                                ; +0x88, 0x1400962a8\nmov     rdx, rax                                                       ; +0x8f, 0x1400962af\ncall    qword ptr [rbx+0B8h]                                           ; +0x92, 0x1400962b2\nmovss   xmm0, cs:dword_140622B08                                       ; +0x98, 0x1400962b8\nlea     rdx, [rsp+38h+arg_0]                                           ; +0xa0, 0x1400962c0\ncall    cs:?create@CCMoveTo@cocos2d@@SAPEAV12@MAEBVCCPoint@2@@Z; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const &) ; +0xa5, 0x1400962c5\nmovss   xmm1, cs:dword_140622B38                                       ; +0xab, 0x1400962cb\nmov     rcx, rax                                                       ; +0xb3, 0x1400962d3\ncall    cs:?create@CCEaseElasticOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0xb6, 0x1400962d6\nmov     rcx, [rdi+240h]                                                ; +0xbc, 0x1400962dc\nmov     rdx, rax                                                       ; +0xc3, 0x1400962e3\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xc6, 0x1400962e6\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xcc, 0x1400962ec\nmov     rbx, [rax+108h]                                                ; +0xd2, 0x1400962f2\nmov     rax, [rdi+230h]                                                ; +0xd9, 0x1400962f9\ntest    rax, rax                                                       ; +0xe0, 0x140096300\njz      short loc_14009630A                                            ; +0xe3, 0x140096303\nmov     rbx, rax                                                       ; +0xe5, 0x140096305\njmp     short loc_140096332                                            ; +0xe8, 0x140096308\nmov     rcx, rbx                                                       ; +0xea, 0x14009630a\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0xed, 0x14009630d\ninc     eax                                                            ; +0xf3, 0x140096313\ncmp     eax, 69h ; 'i'                                                 ; +0xf5, 0x140096315\njge     short loc_140096321                                            ; +0xf8, 0x140096318\nmov     eax, 69h ; 'i'                                                 ; +0xfa, 0x14009631a\njmp     short loc_14009632C                                            ; +0xff, 0x14009631f\nmov     rcx, rbx                                                       ; +0x101, 0x140096321\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x104, 0x140096324\ninc     eax                                                            ; +0x10a, 0x14009632a\nmov     [rdi+248h], eax                                                ; +0x10c, 0x14009632c\nmov     r8d, [rdi+248h]                                                ; +0x112, 0x140096332\ntest    r8d, r8d                                                       ; +0x119, 0x140096339\njnz     short loc_14009634E                                            ; +0x11c, 0x14009633c\nmov     dword ptr [rdi+248h], 69h ; 'i'                                ; +0x11e, 0x14009633e\nmov     r8d, 69h ; 'i'                                                 ; +0x128, 0x140096348\nmov     rax, [rbx]                                                     ; +0x12e, 0x14009634e\nmov     rdx, rdi                                                       ; +0x131, 0x140096351\nmov     rcx, rbx                                                       ; +0x134, 0x140096354\ncall    qword ptr [rax+1B8h]                                           ; +0x137, 0x140096357\nmov     rax, [rdi+198h]                                                ; +0x13d, 0x14009635d\nlea     rcx, [rdi+198h]                                                ; +0x144, 0x140096364\nxor     edx, edx                                                       ; +0x14b, 0x14009636b\ncall    qword ptr [rax+28h]                                            ; +0x14d, 0x14009636d\nmovss   xmm0, cs:dword_140622A38                                       ; +0x150, 0x140096370\ncvttss2si edx, xmm6                                                    ; +0x158, 0x140096378\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0x15c, 0x14009637c\nmov     rdx, rax                                                       ; +0x162, 0x140096382\nmov     rcx, rdi                                                       ; +0x165, 0x140096385\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x168, 0x140096388\nmov     rax, [rdi]                                                     ; +0x16e, 0x14009638e\nmov     dl, 1                                                          ; +0x171, 0x140096391\nmov     rcx, rdi                                                       ; +0x173, 0x140096393\ncall    qword ptr [rax+140h]                                           ; +0x176, 0x140096396\nmovaps  xmm6, xmmword ptr [rsp+38h+var_18]                             ; +0x17c, 0x14009639c\nmov     rsi, [rsp+38h+arg_18]                                          ; +0x181, 0x1400963a1\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x186, 0x1400963a6\nadd     rsp, 30h                                                       ; +0x18b, 0x1400963ab\npop     rdi                                                            ; +0x18f, 0x1400963af\nretn                                                                   ; +0x190, 0x1400963b0", "xrefs": ["GJShopLayer::onCommunityCredits @ 0x1402abbc3", "GJShopLayer::onCommunityCredits @ 0x1402abbaa", "<???> @ 0x140540870", "<???> @ 0x1406c7248"], "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"}