{"type": "func", "start": 4298107712, "end": 4298108075, "name": "GJPathPage::create", "pseudocode": "// \n// GJPathPage::create from 0x1002feb40 to 0x1002fecab (363 bytes)\n// \n// 2 xrefs:\n// > GJPathsLayer::onPath @ 0x1002fea4a\n// > GJPathPage::unlockAnimationFinished @ 0x100302017\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\nGJPathPage *__fastcall GJPathPage::create(int a1, GJPathsLayer *a2)\n{\n  char *v2; // rbx\n\n  v2 = (char *)operator new(0x2A0u);\n  cocos2d::CCLayerColor::CCLayerColor(v2);\n  *((_QWORD *)v2 + 72) = 0;\n  *((_DWORD *)v2 + 146) = 0;\n  v2[588] = 0;\n  *((_OWORD *)v2 + 34) = 0;\n  *(_OWORD *)(v2 + 553) = 0;\n  *((_OWORD *)v2 + 37) = 0;\n  *((_QWORD *)v2 + 76) = 0;\n  *((_DWORD *)v2 + 154) = -1;\n  *((_WORD *)v2 + 310) = 0;\n  *((_DWORD *)v2 + 156) = -1;\n  v2[628] = 0;\n  *(_QWORD *)v2 = off_10090A8A8;\n  *((_QWORD *)v2 + 40) = off_10090ADD0;\n  *((_QWORD *)v2 + 41) = &off_10090AE40;\n  *((_QWORD *)v2 + 42) = off_10090AE58;\n  *((_QWORD *)v2 + 43) = off_10090AE78;\n  *((_QWORD *)v2 + 44) = off_10090AE98;\n  *((_QWORD *)v2 + 51) = off_10090AEC0;\n  *((_QWORD *)v2 + 54) = off_10090AF40;\n  *((_QWORD *)v2 + 79) = &off_10090AF60;\n  *((_QWORD *)v2 + 80) = &off_10090AF78;\n  *((_QWORD *)v2 + 81) = 0;\n  *((_DWORD *)v2 + 164) = 0;\n  v2[660] = 0;\n  *((_DWORD *)v2 + 166) = 0;\n  if ( GJPathPage::init((GJPathPage *)v2, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return (GJPathPage *)v2;\n}", "assembly": "; \n; GJPathPage::create from 0x1002feb40 to 0x1002fecab (363 bytes)\n; \n; 2 xrefs:\n; > GJPathsLayer::onPath @ 0x1002fea4a\n; > GJPathPage::unlockAnimationFinished @ 0x100302017\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    rbp                                                            ; +0x0, 0x1002feb40\nmov     rbp, rsp                                                       ; +0x1, 0x1002feb41\npush    r15                                                            ; +0x4, 0x1002feb44\npush    r14                                                            ; +0x6, 0x1002feb46\npush    rbx                                                            ; +0x8, 0x1002feb48\npush    rax                                                            ; +0x9, 0x1002feb49\nmov     r14, rsi                                                       ; +0xa, 0x1002feb4a\nmov     r15d, edi                                                      ; +0xd, 0x1002feb4d\nmov     edi, 2A0h; __sz                                                ; +0x10, 0x1002feb50\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x1002feb55\nmov     rbx, rax                                                       ; +0x1a, 0x1002feb5a\nmov     rdi, rax                                                       ; +0x1d, 0x1002feb5d\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x20, 0x1002feb60\nmov     qword ptr [rbx+240h], 0                                        ; +0x25, 0x1002feb65\nmov     dword ptr [rbx+248h], 0                                        ; +0x30, 0x1002feb70\nmov     byte ptr [rbx+24Ch], 0                                         ; +0x3a, 0x1002feb7a\nxorps   xmm0, xmm0                                                     ; +0x41, 0x1002feb81\nmovups  xmmword ptr [rbx+220h], xmm0                                   ; +0x44, 0x1002feb84\nmovups  xmmword ptr [rbx+229h], xmm0                                   ; +0x4b, 0x1002feb8b\nmovups  xmmword ptr [rbx+250h], xmm0                                   ; +0x52, 0x1002feb92\nmov     qword ptr [rbx+260h], 0                                        ; +0x59, 0x1002feb99\nmov     dword ptr [rbx+268h], 0FFFFFFFFh                               ; +0x64, 0x1002feba4\nmov     word ptr [rbx+26Ch], 0                                         ; +0x6e, 0x1002febae\nmov     dword ptr [rbx+270h], 0FFFFFFFFh                               ; +0x77, 0x1002febb7\nmov     byte ptr [rbx+274h], 0                                         ; +0x81, 0x1002febc1\nlea     rax, off_10090A8A8                                             ; +0x88, 0x1002febc8\nmov     [rbx], rax                                                     ; +0x8f, 0x1002febcf\nlea     rax, off_10090ADD0                                             ; +0x92, 0x1002febd2\nmov     [rbx+140h], rax                                                ; +0x99, 0x1002febd9\nlea     rax, off_10090AE40                                             ; +0xa0, 0x1002febe0\nmov     [rbx+148h], rax                                                ; +0xa7, 0x1002febe7\nlea     rax, off_10090AE58                                             ; +0xae, 0x1002febee\nmov     [rbx+150h], rax                                                ; +0xb5, 0x1002febf5\nlea     rax, off_10090AE78                                             ; +0xbc, 0x1002febfc\nmov     [rbx+158h], rax                                                ; +0xc3, 0x1002fec03\nlea     rax, off_10090AE98                                             ; +0xca, 0x1002fec0a\nmov     [rbx+160h], rax                                                ; +0xd1, 0x1002fec11\nlea     rax, off_10090AEC0                                             ; +0xd8, 0x1002fec18\nmov     [rbx+198h], rax                                                ; +0xdf, 0x1002fec1f\nlea     rax, off_10090AF40                                             ; +0xe6, 0x1002fec26\nmov     [rbx+1B0h], rax                                                ; +0xed, 0x1002fec2d\nlea     rax, off_10090AF60                                             ; +0xf4, 0x1002fec34\nmov     [rbx+278h], rax                                                ; +0xfb, 0x1002fec3b\nlea     rax, off_10090AF78                                             ; +0x102, 0x1002fec42\nmov     [rbx+280h], rax                                                ; +0x109, 0x1002fec49\nmov     qword ptr [rbx+288h], 0                                        ; +0x110, 0x1002fec50\nmov     dword ptr [rbx+290h], 0                                        ; +0x11b, 0x1002fec5b\nmov     byte ptr [rbx+294h], 0                                         ; +0x125, 0x1002fec65\nmov     dword ptr [rbx+298h], 0                                        ; +0x12c, 0x1002fec6c\nmov     rdi, rbx                                                       ; +0x136, 0x1002fec76\nmov     esi, r15d                                                      ; +0x139, 0x1002fec79\nmov     rdx, r14                                                       ; +0x13c, 0x1002fec7c\ncall    GJPathPage__init                                               ; +0x13f, 0x1002fec7f\ntest    al, al                                                         ; +0x144, 0x1002fec84\njz      short loc_1002FEC92                                            ; +0x146, 0x1002fec86\nmov     rdi, rbx                                                       ; +0x148, 0x1002fec88\ncall    cocos2d__CCObject__autorelease                                 ; +0x14b, 0x1002fec8b\njmp     short loc_1002FEC9D                                            ; +0x150, 0x1002fec90\nmov     rax, [rbx]                                                     ; +0x152, 0x1002fec92\nmov     rdi, rbx                                                       ; +0x155, 0x1002fec95\ncall    qword ptr [rax+10h]                                            ; +0x158, 0x1002fec98\nxor     ebx, ebx                                                       ; +0x15b, 0x1002fec9b\nmov     rax, rbx                                                       ; +0x15d, 0x1002fec9d\nadd     rsp, 8                                                         ; +0x160, 0x1002feca0\npop     rbx                                                            ; +0x164, 0x1002feca4\npop     r14                                                            ; +0x165, 0x1002feca5\npop     r15                                                            ; +0x167, 0x1002feca7\npop     rbp                                                            ; +0x169, 0x1002feca9\nretn                                                                   ; +0x16a, 0x1002fecaa", "xrefs": ["GJPathsLayer::onPath @ 0x1002fea4a", "GJPathPage::unlockAnimationFinished @ 0x100302017"], "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"}