{"type": "func", "start": 5369950784, "end": 5369951191, "name": "CommunityCreditsPage::show", "pseudocode": "// \n// CommunityCreditsPage::show from 0x14012f240 to 0x14012f3d7 (407 bytes)\n// \n// 6 xrefs:\n// > GJShopLayer::onCommunityCredits @ 0x1403b1f51\n// > GJShopLayer::onCommunityCredits @ 0x1403b1f38\n// > <???> @ 0x140734cc0\n// > <???> @ 0x1408989bc\n// > <???> @ 0x1408989d4\n// > <???> @ 0x140916d78\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 11:27:02 +0000\n// \n\n__int64 __fastcall CommunityCreditsPage::show(__int64 a1)\n{\n  float v3; // xmm6_4\n  const struct cocos2d::CCPoint *v4; // rax\n  __int64 *v5; // rdi\n  __int64 v6; // rbx\n  __int64 v7; // rax\n  struct cocos2d::CCActionInterval *v8; // rax\n  struct cocos2d::CCAction *v9; // rax\n  __int64 v10; // rcx\n  cocos2d::CCScene *v11; // rbx\n  int v12; // eax\n  struct cocos2d::CCAction *v13; // rax\n  __int64 v14; // rdx\n  float v15; // [rsp+50h] [rbp+8h] BYREF\n  char v16; // [rsp+58h] [rbp+10h] BYREF\n\n  if ( *(_BYTE *)(a1 + 596) )\n    return FLAlertLayer::show(a1);\n  v3 = (float)(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)(a1 + 408) + 32LL))(a1 + 408);\n  v4 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 584) + 200LL))(*(_QWORD *)(a1 + 584));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, v4);\n  v5 = *(__int64 **)(a1 + 584);\n  v6 = *v5;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, v15, 160.0);\n  (*(void (__fastcall **)(__int64 *, __int64))(v6 + 184))(v5, v7);\n  v8 = cocos2d::CCMoveTo::create(0.5, (const struct cocos2d::CCPoint *)&v15);\n  v9 = cocos2d::CCEaseElasticOut::create(v8, 0.60000002);\n  cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 584), v9);\n  v11 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v10) + 272);\n  if ( *(_QWORD *)(a1 + 568) )\n  {\n    v11 = *(cocos2d::CCScene **)(a1 + 568);\n  }\n  else\n  {\n    if ( cocos2d::CCScene::getHighestChildZ(v11) + 1 >= 105 )\n      v12 = cocos2d::CCScene::getHighestChildZ(v11) + 1;\n    else\n      v12 = 105;\n    *(_DWORD *)(a1 + 592) = v12;\n  }\n  if ( !*(_DWORD *)(a1 + 592) )\n    *(_DWORD *)(a1 + 592) = 105;\n  (*(void (__fastcall **)(cocos2d::CCScene *, __int64))(*(_QWORD *)v11 + 456LL))(v11, a1);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 + 408) + 40LL))(a1 + 408, 0);\n  v13 = cocos2d::CCFadeTo::create(0.14, (int)v3);\n  cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v13);\n  LOBYTE(v14) = 1;\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 336LL))(a1, v14);\n}", "assembly": "; \n; CommunityCreditsPage::show from 0x14012f240 to 0x14012f3d7 (407 bytes)\n; \n; 6 xrefs:\n; > GJShopLayer::onCommunityCredits @ 0x1403b1f51\n; > GJShopLayer::onCommunityCredits @ 0x1403b1f38\n; > <???> @ 0x140734cc0\n; > <???> @ 0x1408989bc\n; > <???> @ 0x1408989d4\n; > <???> @ 0x140916d78\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 11:27:02 +0000\n; \npush    rsi                                                            ; +0x0, 0x14012f240\nsub     rsp, 40h                                                       ; +0x2, 0x14012f242\ncmp     byte ptr [rcx+254h], 0                                         ; +0x6, 0x14012f246\nmov     rsi, rcx                                                       ; +0xd, 0x14012f24d\njz      short loc_14012F25D                                            ; +0x10, 0x14012f250\ncall    FLAlertLayer__show                                             ; +0x12, 0x14012f252\nadd     rsp, 40h                                                       ; +0x17, 0x14012f257\npop     rsi                                                            ; +0x1b, 0x14012f25b\nretn                                                                   ; +0x1c, 0x14012f25c\nmov     rax, [rcx+198h]                                                ; +0x1d, 0x14012f25d\nadd     rcx, 198h                                                      ; +0x24, 0x14012f264\nmov     [rsp+48h+arg_10], rbx                                          ; +0x2b, 0x14012f26b\nmov     [rsp+48h+var_10], rdi                                          ; +0x30, 0x14012f270\nmov     [rsp+48h+var_18], r14                                          ; +0x35, 0x14012f275\nmovaps  [rsp+48h+var_28], xmm6                                         ; +0x3a, 0x14012f27a\ncall    qword ptr [rax+20h]                                            ; +0x3f, 0x14012f27f\nmov     rcx, [rsi+248h]                                                ; +0x42, 0x14012f282\nmovzx   eax, al                                                        ; +0x49, 0x14012f289\nmovd    xmm6, eax                                                      ; +0x4c, 0x14012f28c\nmov     rax, [rcx]                                                     ; +0x50, 0x14012f290\ncvtdq2ps xmm6, xmm6                                                    ; +0x53, 0x14012f293\ncall    qword ptr [rax+0C8h]                                           ; +0x56, 0x14012f296\nmov     rdx, rax                                                       ; +0x5c, 0x14012f29c\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x5f, 0x14012f29f\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x64, 0x14012f2a4\nmov     rdi, [rsi+248h]                                                ; +0x6a, 0x14012f2aa\nlea     rcx, [rsp+48h+arg_8]                                           ; +0x71, 0x14012f2b1\nmovss   xmm2, cs:dword_14083587C                                       ; +0x76, 0x14012f2b6\nmovss   xmm1, [rsp+48h+arg_0]                                          ; +0x7e, 0x14012f2be\nmov     rbx, [rdi]                                                     ; +0x84, 0x14012f2c4\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x87, 0x14012f2c7\nmov     rdx, rax                                                       ; +0x8d, 0x14012f2cd\nmov     rcx, rdi                                                       ; +0x90, 0x14012f2d0\ncall    qword ptr [rbx+0B8h]                                           ; +0x93, 0x14012f2d3\nmovss   xmm0, cs:dword_140834F20                                       ; +0x99, 0x14012f2d9\nlea     rdx, [rsp+48h+arg_0]                                           ; +0xa1, 0x14012f2e1\ncall    cs:?create@CCMoveTo@cocos2d@@SAPEAV12@MAEBVCCPoint@2@@Z; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const &) ; +0xa6, 0x14012f2e6\nmovss   xmm1, cs:dword_140834F64                                       ; +0xac, 0x14012f2ec\nmov     rcx, rax                                                       ; +0xb4, 0x14012f2f4\ncall    cs:?create@CCEaseElasticOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0xb7, 0x14012f2f7\nmov     rcx, [rsi+248h]                                                ; +0xbd, 0x14012f2fd\nmov     rdx, rax                                                       ; +0xc4, 0x14012f304\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xc7, 0x14012f307\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xcd, 0x14012f30d\nmov     rdi, [rsp+48h+var_10]                                          ; +0xd3, 0x14012f313\nmov     rbx, [rax+110h]                                                ; +0xd8, 0x14012f318\nmov     rax, [rsi+238h]                                                ; +0xdf, 0x14012f31f\ntest    rax, rax                                                       ; +0xe6, 0x14012f326\njz      short loc_14012F330                                            ; +0xe9, 0x14012f329\nmov     rbx, rax                                                       ; +0xeb, 0x14012f32b\njmp     short loc_14012F358                                            ; +0xee, 0x14012f32e\nmov     rcx, rbx                                                       ; +0xf0, 0x14012f330\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0xf3, 0x14012f333\ninc     eax                                                            ; +0xf9, 0x14012f339\ncmp     eax, 69h ; 'i'                                                 ; +0xfb, 0x14012f33b\njge     short loc_14012F347                                            ; +0xfe, 0x14012f33e\nmov     eax, 69h ; 'i'                                                 ; +0x100, 0x14012f340\njmp     short loc_14012F352                                            ; +0x105, 0x14012f345\nmov     rcx, rbx                                                       ; +0x107, 0x14012f347\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x10a, 0x14012f34a\ninc     eax                                                            ; +0x110, 0x14012f350\nmov     [rsi+250h], eax                                                ; +0x112, 0x14012f352\nmov     r8d, [rsi+250h]                                                ; +0x118, 0x14012f358\ntest    r8d, r8d                                                       ; +0x11f, 0x14012f35f\njnz     short loc_14012F374                                            ; +0x122, 0x14012f362\nmov     dword ptr [rsi+250h], 69h ; 'i'                                ; +0x124, 0x14012f364\nmov     r8d, 69h ; 'i'                                                 ; +0x12e, 0x14012f36e\nmov     rax, [rbx]                                                     ; +0x134, 0x14012f374\nmov     rdx, rsi                                                       ; +0x137, 0x14012f377\nmov     rcx, rbx                                                       ; +0x13a, 0x14012f37a\ncall    qword ptr [rax+1C8h]                                           ; +0x13d, 0x14012f37d\nmov     rax, [rsi+198h]                                                ; +0x143, 0x14012f383\nlea     rcx, [rsi+198h]                                                ; +0x14a, 0x14012f38a\nxor     edx, edx                                                       ; +0x151, 0x14012f391\ncall    qword ptr [rax+28h]                                            ; +0x153, 0x14012f393\nmovss   xmm0, cs:dword_140834E28                                       ; +0x156, 0x14012f396\ncvttss2si edx, xmm6                                                    ; +0x15e, 0x14012f39e\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0x162, 0x14012f3a2\nmov     rdx, rax                                                       ; +0x168, 0x14012f3a8\nmov     rcx, rsi                                                       ; +0x16b, 0x14012f3ab\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x16e, 0x14012f3ae\nmov     rax, [rsi]                                                     ; +0x174, 0x14012f3b4\nmov     dl, 1                                                          ; +0x177, 0x14012f3b7\nmov     rcx, rsi                                                       ; +0x179, 0x14012f3b9\ncall    qword ptr [rax+150h]                                           ; +0x17c, 0x14012f3bc\nmovaps  xmm6, [rsp+48h+var_28]                                         ; +0x182, 0x14012f3c2\nmov     r14, [rsp+48h+var_18]                                          ; +0x187, 0x14012f3c7\nmov     rbx, [rsp+48h+arg_10]                                          ; +0x18c, 0x14012f3cc\nadd     rsp, 40h                                                       ; +0x191, 0x14012f3d1\npop     rsi                                                            ; +0x195, 0x14012f3d5\nretn                                                                   ; +0x196, 0x14012f3d6", "xrefs": ["GJShopLayer::onCommunityCredits @ 0x1403b1f51", "GJShopLayer::onCommunityCredits @ 0x1403b1f38", "<???> @ 0x140734cc0", "<???> @ 0x1408989bc", "<???> @ 0x1408989d4", "<???> @ 0x140916d78"], "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"}