{"type": "func", "start": 5372457456, "end": 5372457771, "name": "GJPathPage::create", "pseudocode": "// \n// GJPathPage::create from 0x1403931f0 to 0x14039332b (315 bytes)\n// \n// 3 xrefs:\n// > GJPathsLayer::onPath @ 0x140392ef7\n// > GJPathPage::unlockAnimationFinished @ 0x140396d8f\n// > <???> @ 0x14092309c\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:11 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n_QWORD *__fastcall GJPathPage::create(unsigned int a1, __int64 a2)\n{\n  _QWORD *v4; // rsi\n\n  v4 = operator new(0x2C0u);\n  FLAlertLayer::FLAlertLayer((__int64)v4);\n  *v4 = &GJPathPage::`vftable';\n  v4[40] = &GJPathPage::`vftable';\n  v4[41] = &GJPathPage::`vftable';\n  v4[42] = &GJPathPage::`vftable';\n  v4[43] = &GJPathPage::`vftable';\n  v4[44] = &GJPathPage::`vftable';\n  v4[51] = &GJPathPage::`vftable';\n  v4[54] = &GJPathPage::`vftable';\n  v4[68] = &GJPathPage::`vftable';\n  v4[83] = &GJPathPage::`vftable';\n  v4[84] = &GJPathPage::`vftable';\n  v4[85] = 0;\n  *((_DWORD *)v4 + 172) = 0;\n  *((_BYTE *)v4 + 692) = 0;\n  *((_DWORD *)v4 + 174) = 0;\n  if ( (unsigned __int8)GJPathPage::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);\n    return v4;\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *, __int64))(*v4 + 8LL))(v4, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJPathPage::create from 0x1403931f0 to 0x14039332b (315 bytes)\n; \n; 3 xrefs:\n; > GJPathsLayer::onPath @ 0x140392ef7\n; > GJPathPage::unlockAnimationFinished @ 0x140396d8f\n; > <???> @ 0x14092309c\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:11 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403931f0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1403931f5\npush    rdi                                                            ; +0xa, 0x1403931fa\nsub     rsp, 20h                                                       ; +0xb, 0x1403931fb\nmov     rbx, rdx                                                       ; +0xf, 0x1403931ff\nmov     edi, ecx                                                       ; +0x12, 0x140393202\nmov     ecx, 2C0h; Size                                                ; +0x14, 0x140393204\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x19, 0x140393209\nmov     rsi, rax                                                       ; +0x1e, 0x14039320e\nmov     [rsp+28h+arg_10], rax                                          ; +0x21, 0x140393211\nmov     rcx, rax                                                       ; +0x26, 0x140393216\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x29, 0x140393219\nlea     rax, ??_7GJPathPage@@6B@; const GJPathPage::`vftable'          ; +0x2e, 0x14039321e\nmov     [rsi], rax                                                     ; +0x35, 0x140393225\nlea     rax, ??_7GJPathPage@@6B@_0; const GJPathPage::`vftable'        ; +0x38, 0x140393228\nmov     [rsi+140h], rax                                                ; +0x3f, 0x14039322f\nlea     rax, ??_7GJPathPage@@6B@_1; const GJPathPage::`vftable'        ; +0x46, 0x140393236\nmov     [rsi+148h], rax                                                ; +0x4d, 0x14039323d\nlea     rax, ??_7GJPathPage@@6B@_2; const GJPathPage::`vftable'        ; +0x54, 0x140393244\nmov     [rsi+150h], rax                                                ; +0x5b, 0x14039324b\nlea     rax, ??_7GJPathPage@@6B@_3; const GJPathPage::`vftable'        ; +0x62, 0x140393252\nmov     [rsi+158h], rax                                                ; +0x69, 0x140393259\nlea     rax, ??_7GJPathPage@@6B@_4; const GJPathPage::`vftable'        ; +0x70, 0x140393260\nmov     [rsi+160h], rax                                                ; +0x77, 0x140393267\nlea     rax, ??_7GJPathPage@@6B@_5; const GJPathPage::`vftable'        ; +0x7e, 0x14039326e\nmov     [rsi+198h], rax                                                ; +0x85, 0x140393275\nlea     rax, ??_7GJPathPage@@6B@_6; const GJPathPage::`vftable'        ; +0x8c, 0x14039327c\nmov     [rsi+1B0h], rax                                                ; +0x93, 0x140393283\nlea     rax, ??_7GJPathPage@@6B@_7; const GJPathPage::`vftable'        ; +0x9a, 0x14039328a\nmov     [rsi+220h], rax                                                ; +0xa1, 0x140393291\nlea     rax, ??_7GJPathPage@@6B@_8; const GJPathPage::`vftable'        ; +0xa8, 0x140393298\nmov     [rsi+298h], rax                                                ; +0xaf, 0x14039329f\nlea     rax, ??_7GJPathPage@@6B@_9; const GJPathPage::`vftable'        ; +0xb6, 0x1403932a6\nmov     [rsi+2A0h], rax                                                ; +0xbd, 0x1403932ad\nmov     qword ptr [rsi+2A8h], 0                                        ; +0xc4, 0x1403932b4\nmov     dword ptr [rsi+2B0h], 0                                        ; +0xcf, 0x1403932bf\nmov     byte ptr [rsi+2B4h], 0                                         ; +0xd9, 0x1403932c9\nmov     dword ptr [rsi+2B8h], 0                                        ; +0xe0, 0x1403932d0\nmov     r8, rbx                                                        ; +0xea, 0x1403932da\nmov     edx, edi                                                       ; +0xed, 0x1403932dd\nmov     rcx, rsi                                                       ; +0xef, 0x1403932df\ncall    GJPathPage__init                                               ; +0xf2, 0x1403932e2\ntest    al, al                                                         ; +0xf7, 0x1403932e7\njz      short loc_140393307                                            ; +0xf9, 0x1403932e9\nmov     rcx, rsi                                                       ; +0xfb, 0x1403932eb\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xfe, 0x1403932ee\nmov     rax, rsi                                                       ; +0x104, 0x1403932f4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x107, 0x1403932f7\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x10c, 0x1403932fc\nadd     rsp, 20h                                                       ; +0x111, 0x140393301\npop     rdi                                                            ; +0x115, 0x140393305\nretn                                                                   ; +0x116, 0x140393306\nmov     rcx, [rsi]                                                     ; +0x117, 0x140393307\nmov     r8, [rcx+8]                                                    ; +0x11a, 0x14039330a\nmov     edx, 1                                                         ; +0x11e, 0x14039330e\nmov     rcx, rsi                                                       ; +0x123, 0x140393313\ncall    r8                                                             ; +0x126, 0x140393316\nxor     eax, eax                                                       ; +0x129, 0x140393319\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x12b, 0x14039331b\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x130, 0x140393320\nadd     rsp, 20h                                                       ; +0x135, 0x140393325\npop     rdi                                                            ; +0x139, 0x140393329\nretn                                                                   ; +0x13a, 0x14039332a", "xrefs": ["GJPathsLayer::onPath @ 0x140392ef7", "GJPathPage::unlockAnimationFinished @ 0x140396d8f", "<???> @ 0x14092309c"], "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"}