{"type": "func", "start": 5372583456, "end": 5372583779, "name": "GJShopLayer::onCommunityCredits", "pseudocode": "// \n// GJShopLayer::onCommunityCredits from 0x1403b1e20 to 0x1403b1f63 (323 bytes)\n// \n// 2 xrefs:\n// > GJShopLayer::init @ 0x1403b0d4f\n// > <???> @ 0x140923bdc\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:31:23 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall GJShopLayer::onCommunityCredits(__int64 a1)\n{\n  _QWORD *v2; // rbx\n  __int64 (__fastcall *v3)(__int64); // rdx\n\n  v2 = operator new(0x2B8u);\n  FLAlertLayer::FLAlertLayer((__int64)v2);\n  *v2 = &CommunityCreditsPage::`vftable';\n  v2[40] = &CommunityCreditsPage::`vftable';\n  v2[41] = &CommunityCreditsPage::`vftable';\n  v2[42] = &CommunityCreditsPage::`vftable';\n  v2[43] = &CommunityCreditsPage::`vftable';\n  v2[44] = &CommunityCreditsPage::`vftable';\n  v2[51] = &CommunityCreditsPage::`vftable';\n  v2[54] = &CommunityCreditsPage::`vftable';\n  v2[68] = &CommunityCreditsPage::`vftable';\n  v2[83] = 0;\n  v2[84] = 0;\n  v2[85] = 0;\n  *((_DWORD *)v2 + 172) = -1;\n  if ( CommunityCreditsPage::init((__int64)v2) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *, __int64))(*v2 + 8LL))(v2, 1);\n    v2 = nullptr;\n  }\n  v2[71] = a1;\n  v3 = *(__int64 (__fastcall **)(__int64))(*v2 + 1064LL);\n  if ( v3 == CommunityCreditsPage::show )\n    return CommunityCreditsPage::show((__int64)v2);\n  else\n    return v3((__int64)v2);\n}", "assembly": "; \n; GJShopLayer::onCommunityCredits from 0x1403b1e20 to 0x1403b1f63 (323 bytes)\n; \n; 2 xrefs:\n; > GJShopLayer::init @ 0x1403b0d4f\n; > <???> @ 0x140923bdc\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:31:23 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1403b1e20\npush    rdi                                                            ; +0x5, 0x1403b1e25\nsub     rsp, 20h                                                       ; +0x6, 0x1403b1e26\nmov     rdi, rcx                                                       ; +0xa, 0x1403b1e2a\nmov     ecx, 2B8h; Size                                                ; +0xd, 0x1403b1e2d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x1403b1e32\nmov     rbx, rax                                                       ; +0x17, 0x1403b1e37\nmov     [rsp+28h+arg_0], rax                                           ; +0x1a, 0x1403b1e3a\nmov     rcx, rax                                                       ; +0x1f, 0x1403b1e3f\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x22, 0x1403b1e42\nlea     rax, ??_7CommunityCreditsPage@@6B@; const CommunityCreditsPage::`vftable' ; +0x27, 0x1403b1e47\nmov     [rbx], rax                                                     ; +0x2e, 0x1403b1e4e\nlea     rax, ??_7CommunityCreditsPage@@6B@_0; const CommunityCreditsPage::`vftable' ; +0x31, 0x1403b1e51\nmov     [rbx+140h], rax                                                ; +0x38, 0x1403b1e58\nlea     rax, ??_7CommunityCreditsPage@@6B@_1; const CommunityCreditsPage::`vftable' ; +0x3f, 0x1403b1e5f\nmov     [rbx+148h], rax                                                ; +0x46, 0x1403b1e66\nlea     rax, ??_7CommunityCreditsPage@@6B@_2; const CommunityCreditsPage::`vftable' ; +0x4d, 0x1403b1e6d\nmov     [rbx+150h], rax                                                ; +0x54, 0x1403b1e74\nlea     rax, ??_7CommunityCreditsPage@@6B@_3; const CommunityCreditsPage::`vftable' ; +0x5b, 0x1403b1e7b\nmov     [rbx+158h], rax                                                ; +0x62, 0x1403b1e82\nlea     rax, ??_7CommunityCreditsPage@@6B@_4; const CommunityCreditsPage::`vftable' ; +0x69, 0x1403b1e89\nmov     [rbx+160h], rax                                                ; +0x70, 0x1403b1e90\nlea     rax, ??_7CommunityCreditsPage@@6B@_5; const CommunityCreditsPage::`vftable' ; +0x77, 0x1403b1e97\nmov     [rbx+198h], rax                                                ; +0x7e, 0x1403b1e9e\nlea     rax, ??_7CommunityCreditsPage@@6B@_6; const CommunityCreditsPage::`vftable' ; +0x85, 0x1403b1ea5\nmov     [rbx+1B0h], rax                                                ; +0x8c, 0x1403b1eac\nlea     rax, ??_7CommunityCreditsPage@@6B@_7; const CommunityCreditsPage::`vftable' ; +0x93, 0x1403b1eb3\nmov     [rbx+220h], rax                                                ; +0x9a, 0x1403b1eba\nmov     qword ptr [rbx+298h], 0                                        ; +0xa1, 0x1403b1ec1\nmov     qword ptr [rbx+2A0h], 0                                        ; +0xac, 0x1403b1ecc\nmov     qword ptr [rbx+2A8h], 0                                        ; +0xb7, 0x1403b1ed7\nmov     dword ptr [rbx+2B0h], 0FFFFFFFFh                               ; +0xc2, 0x1403b1ee2\nmov     rax, cs:off_1407348E0                                          ; +0xcc, 0x1403b1eec\nlea     rcx, CommunityCreditsPage__init                                ; +0xd3, 0x1403b1ef3\ncmp     rax, rcx                                                       ; +0xda, 0x1403b1efa\nmov     rcx, rbx                                                       ; +0xdd, 0x1403b1efd\njnz     short loc_1403B1F09                                            ; +0xe0, 0x1403b1f00\ncall    CommunityCreditsPage__init                                     ; +0xe2, 0x1403b1f02\njmp     short loc_1403B1F0B                                            ; +0xe7, 0x1403b1f07\ncall    rax ; CommunityCreditsPage__init                               ; +0xe9, 0x1403b1f09\nmov     rcx, rbx                                                       ; +0xeb, 0x1403b1f0b\ntest    al, al                                                         ; +0xee, 0x1403b1f0e\njz      short loc_1403B1F1A                                            ; +0xf0, 0x1403b1f10\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xf2, 0x1403b1f12\njmp     short loc_1403B1F27                                            ; +0xf8, 0x1403b1f18\nmov     rax, [rbx]                                                     ; +0xfa, 0x1403b1f1a\nmov     edx, 1                                                         ; +0xfd, 0x1403b1f1d\ncall    qword ptr [rax+8]                                              ; +0x102, 0x1403b1f22\nxor     ebx, ebx                                                       ; +0x105, 0x1403b1f25\nmov     [rbx+238h], rdi                                                ; +0x107, 0x1403b1f27\nmov     rax, [rbx]                                                     ; +0x10e, 0x1403b1f2e\nmov     rdx, [rax+428h]                                                ; +0x111, 0x1403b1f31\nlea     rax, CommunityCreditsPage__show                                ; +0x118, 0x1403b1f38\nmov     rcx, rbx                                                       ; +0x11f, 0x1403b1f3f\ncmp     rdx, rax                                                       ; +0x122, 0x1403b1f42\njnz     short loc_1403B1F56                                            ; +0x125, 0x1403b1f45\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x127, 0x1403b1f47\nadd     rsp, 20h                                                       ; +0x12c, 0x1403b1f4c\npop     rdi                                                            ; +0x130, 0x1403b1f50\njmp     CommunityCreditsPage__show                                     ; +0x131, 0x1403b1f51\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x136, 0x1403b1f56\nadd     rsp, 20h                                                       ; +0x13b, 0x1403b1f5b\npop     rdi                                                            ; +0x13f, 0x1403b1f5f\njmp     rdx                                                            ; +0x140, 0x1403b1f60", "xrefs": ["GJShopLayer::init @ 0x1403b0d4f", "<???> @ 0x140923bdc"], "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"}