{"type": "func", "start": 5374084784, "end": 5374085656, "name": "GJShaderState::GJShaderState", "pseudocode": "// \n// GJShaderState::GJShaderState from 0x1405206b0 to 0x140520a18 (872 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::setupLayers @ 0x14031103c\n// > CheckpointObject::CheckpointObject @ 0x140520fac\n// > <???> @ 0x14092b3c4\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:33:37 +0000\n// \n\n// Hidden C++ exception states: #wind=2\n__int64 __fastcall GJShaderState::GJShaderState(__int64 a1)\n{\n  sub_140355170(a1);\n  sub_1400666C0(a1 + 64);\n  *(_QWORD *)(a1 + 128) = 0;\n  *(_QWORD *)(a1 + 136) = 0xBFF0000000000000uLL;\n  *(_QWORD *)(a1 + 144) = 0;\n  *(_DWORD *)(a1 + 152) = 1065353216;\n  *(_DWORD *)(a1 + 156) = 1065353216;\n  *(_WORD *)(a1 + 160) = 0;\n  *(_BYTE *)(a1 + 162) = 0;\n  *(_QWORD *)(a1 + 164) = 0;\n  *(_BYTE *)(a1 + 172) = 0;\n  *(_QWORD *)(a1 + 176) = 0;\n  *(_QWORD *)(a1 + 184) = 0;\n  *(_QWORD *)(a1 + 192) = 0;\n  *(_QWORD *)(a1 + 200) = 0;\n  *(_DWORD *)(a1 + 208) = 0;\n  *(_BYTE *)(a1 + 212) = 0;\n  *(_QWORD *)(a1 + 216) = 0;\n  *(_DWORD *)(a1 + 224) = 0;\n  *(_WORD *)(a1 + 228) = 0;\n  *(_BYTE *)(a1 + 230) = 0;\n  *(_DWORD *)(a1 + 232) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 236));\n  *(_BYTE *)(a1 + 244) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 248));\n  *(_QWORD *)(a1 + 256) = 0;\n  *(_QWORD *)(a1 + 264) = 0;\n  *(_QWORD *)(a1 + 272) = 0;\n  *(_QWORD *)(a1 + 280) = 0;\n  *(_QWORD *)(a1 + 288) = 0;\n  *(_QWORD *)(a1 + 296) = 0;\n  *(_DWORD *)(a1 + 304) = 0;\n  *(_WORD *)(a1 + 308) = 0;\n  *(_BYTE *)(a1 + 310) = 0;\n  *(_DWORD *)(a1 + 312) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 316));\n  *(_BYTE *)(a1 + 324) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 328));\n  *(_QWORD *)(a1 + 336) = 0;\n  *(_QWORD *)(a1 + 344) = 0;\n  *(_QWORD *)(a1 + 352) = 0;\n  *(_BYTE *)(a1 + 360) = 0;\n  *(_QWORD *)(a1 + 364) = 0;\n  *(_BYTE *)(a1 + 372) = 0;\n  *(_QWORD *)(a1 + 376) = 0;\n  *(_QWORD *)(a1 + 384) = 0;\n  *(_DWORD *)(a1 + 392) = 0;\n  *(_QWORD *)(a1 + 396) = 1065353216;\n  *(_QWORD *)(a1 + 404) = 0;\n  *(_DWORD *)(a1 + 412) = 1065353216;\n  *(_QWORD *)(a1 + 416) = 1065353216;\n  *(_QWORD *)(a1 + 424) = 1065353216;\n  *(_QWORD *)(a1 + 432) = 0;\n  *(_QWORD *)(a1 + 440) = 0;\n  *(_BYTE *)(a1 + 448) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 452));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 460));\n  *(_QWORD *)(a1 + 468) = 0;\n  *(_BYTE *)(a1 + 476) = 0;\n  *(_DWORD *)(a1 + 480) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 484));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 492));\n  *(_QWORD *)(a1 + 500) = 0;\n  *(_QWORD *)(a1 + 508) = 0;\n  *(_DWORD *)(a1 + 516) = 1065353216;\n  *(_QWORD *)(a1 + 520) = 1065353216;\n  *(_DWORD *)(a1 + 528) = 0;\n  *(_WORD *)(a1 + 532) = 0;\n  *(_DWORD *)(a1 + 536) = 0;\n  *(_BYTE *)(a1 + 540) = 0;\n  *(_QWORD *)(a1 + 544) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 552));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 560));\n  *(_QWORD *)(a1 + 568) = 0;\n  *(_WORD *)(a1 + 576) = 0;\n  *(_QWORD *)(a1 + 580) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 588));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 596));\n  *(_BYTE *)(a1 + 604) = 0;\n  *(_DWORD *)(a1 + 608) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 612));\n  *(_DWORD *)(a1 + 620) = 0;\n  *(_BYTE *)(a1 + 624) = 0;\n  *(_DWORD *)(a1 + 628) = 0;\n  *(_WORD *)(a1 + 632) = 0;\n  *(_BYTE *)(a1 + 634) = 0;\n  *(_QWORD *)(a1 + 636) = 0;\n  *(_DWORD *)(a1 + 644) = 1065353216;\n  *(_DWORD *)(a1 + 648) = 1065353216;\n  *(_DWORD *)(a1 + 652) = 1065353216;\n  *(_BYTE *)(a1 + 656) = 0;\n  *(_DWORD *)(a1 + 660) = 0;\n  *(_DWORD *)(a1 + 664) = 1065353216;\n  *(_DWORD *)(a1 + 668) = 1065353216;\n  *(_QWORD *)(a1 + 672) = 1065353216;\n  *(_QWORD *)(a1 + 680) = 0;\n  *(_QWORD *)(a1 + 688) = 0;\n  *(_QWORD *)(a1 + 696) = 0;\n  *(_BYTE *)(a1 + 704) = 0;\n  *(_QWORD *)(a1 + 708) = 0;\n  *(_WORD *)(a1 + 716) = 0;\n  *(_BYTE *)(a1 + 718) = 0;\n  return a1;\n}", "assembly": "; \n; GJShaderState::GJShaderState from 0x1405206b0 to 0x140520a18 (872 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::setupLayers @ 0x14031103c\n; > CheckpointObject::CheckpointObject @ 0x140520fac\n; > <???> @ 0x14092b3c4\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:33:37 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1405206b0\nmov     [rsp+arg_0], rcx                                               ; +0x5, 0x1405206b5\npush    rdi                                                            ; +0xa, 0x1405206ba\nsub     rsp, 20h                                                       ; +0xb, 0x1405206bb\nmov     rbx, rcx                                                       ; +0xf, 0x1405206bf\ncall    sub_140355170                                                  ; +0x12, 0x1405206c2\nnop                                                                    ; +0x17, 0x1405206c7\nlea     rcx, [rbx+40h]                                                 ; +0x18, 0x1405206c8\ncall    sub_1400666C0                                                  ; +0x1c, 0x1405206cc\nnop                                                                    ; +0x21, 0x1405206d1\nxor     edi, edi                                                       ; +0x22, 0x1405206d2\nmov     [rbx+80h], rdi                                                 ; +0x24, 0x1405206d4\nmov     rax, 0BFF0000000000000h                                        ; +0x2b, 0x1405206db\nmov     [rbx+88h], rax                                                 ; +0x35, 0x1405206e5\nmov     [rbx+90h], rdi                                                 ; +0x3c, 0x1405206ec\nmov     dword ptr [rbx+98h], 3F800000h                                 ; +0x43, 0x1405206f3\nmov     dword ptr [rbx+9Ch], 3F800000h                                 ; +0x4d, 0x1405206fd\nmov     [rbx+0A0h], di                                                 ; +0x57, 0x140520707\nmov     [rbx+0A2h], dil                                                ; +0x5e, 0x14052070e\nmov     [rbx+0A4h], rdi                                                ; +0x65, 0x140520715\nmov     [rbx+0ACh], dil                                                ; +0x6c, 0x14052071c\nmov     [rbx+0B0h], rdi                                                ; +0x73, 0x140520723\nmov     [rbx+0B8h], rdi                                                ; +0x7a, 0x14052072a\nmov     [rbx+0C0h], rdi                                                ; +0x81, 0x140520731\nmov     [rbx+0C8h], rdi                                                ; +0x88, 0x140520738\nmov     [rbx+0D0h], edi                                                ; +0x8f, 0x14052073f\nmov     [rbx+0D4h], dil                                                ; +0x95, 0x140520745\nmov     [rbx+0D8h], rdi                                                ; +0x9c, 0x14052074c\nmov     [rbx+0E0h], edi                                                ; +0xa3, 0x140520753\nmov     [rbx+0E4h], di                                                 ; +0xa9, 0x140520759\nmov     [rbx+0E6h], dil                                                ; +0xb0, 0x140520760\nmov     [rbx+0E8h], edi                                                ; +0xb7, 0x140520767\nlea     rcx, [rbx+0ECh]                                                ; +0xbd, 0x14052076d\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0xc4, 0x140520774\nmov     [rbx+0F4h], dil                                                ; +0xca, 0x14052077a\nlea     rcx, [rbx+0F8h]                                                ; +0xd1, 0x140520781\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0xd8, 0x140520788\nmov     [rbx+100h], rdi                                                ; +0xde, 0x14052078e\nmov     [rbx+108h], rdi                                                ; +0xe5, 0x140520795\nmov     [rbx+110h], rdi                                                ; +0xec, 0x14052079c\nmov     [rbx+118h], rdi                                                ; +0xf3, 0x1405207a3\nmov     [rbx+120h], rdi                                                ; +0xfa, 0x1405207aa\nmov     [rbx+128h], rdi                                                ; +0x101, 0x1405207b1\nmov     [rbx+130h], edi                                                ; +0x108, 0x1405207b8\nmov     [rbx+134h], di                                                 ; +0x10e, 0x1405207be\nmov     [rbx+136h], dil                                                ; +0x115, 0x1405207c5\nmov     [rbx+138h], edi                                                ; +0x11c, 0x1405207cc\nlea     rcx, [rbx+13Ch]                                                ; +0x122, 0x1405207d2\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x129, 0x1405207d9\nmov     [rbx+144h], dil                                                ; +0x12f, 0x1405207df\nlea     rcx, [rbx+148h]                                                ; +0x136, 0x1405207e6\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x13d, 0x1405207ed\nmov     [rbx+150h], rdi                                                ; +0x143, 0x1405207f3\nmov     [rbx+158h], rdi                                                ; +0x14a, 0x1405207fa\nmov     [rbx+160h], rdi                                                ; +0x151, 0x140520801\nmov     [rbx+168h], dil                                                ; +0x158, 0x140520808\nmov     [rbx+16Ch], rdi                                                ; +0x15f, 0x14052080f\nmov     [rbx+174h], dil                                                ; +0x166, 0x140520816\nmov     [rbx+178h], rdi                                                ; +0x16d, 0x14052081d\nmov     [rbx+180h], rdi                                                ; +0x174, 0x140520824\nmov     [rbx+188h], edi                                                ; +0x17b, 0x14052082b\nmov     qword ptr [rbx+18Ch], 3F800000h                                ; +0x181, 0x140520831\nmov     [rbx+194h], rdi                                                ; +0x18c, 0x14052083c\nmov     dword ptr [rbx+19Ch], 3F800000h                                ; +0x193, 0x140520843\nmov     qword ptr [rbx+1A0h], 3F800000h                                ; +0x19d, 0x14052084d\nmov     qword ptr [rbx+1A8h], 3F800000h                                ; +0x1a8, 0x140520858\nmov     [rbx+1B0h], rdi                                                ; +0x1b3, 0x140520863\nmov     [rbx+1B8h], rdi                                                ; +0x1ba, 0x14052086a\nmov     [rbx+1C0h], dil                                                ; +0x1c1, 0x140520871\nlea     rcx, [rbx+1C4h]                                                ; +0x1c8, 0x140520878\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x1cf, 0x14052087f\nlea     rcx, [rbx+1CCh]                                                ; +0x1d5, 0x140520885\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x1dc, 0x14052088c\nmov     [rbx+1D4h], rdi                                                ; +0x1e2, 0x140520892\nmov     [rbx+1DCh], dil                                                ; +0x1e9, 0x140520899\nmov     [rbx+1E0h], edi                                                ; +0x1f0, 0x1405208a0\nlea     rcx, [rbx+1E4h]                                                ; +0x1f6, 0x1405208a6\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x1fd, 0x1405208ad\nlea     rcx, [rbx+1ECh]                                                ; +0x203, 0x1405208b3\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x20a, 0x1405208ba\nmov     [rbx+1F4h], rdi                                                ; +0x210, 0x1405208c0\nmov     [rbx+1FCh], rdi                                                ; +0x217, 0x1405208c7\nmov     dword ptr [rbx+204h], 3F800000h                                ; +0x21e, 0x1405208ce\nmov     qword ptr [rbx+208h], 3F800000h                                ; +0x228, 0x1405208d8\nmov     [rbx+210h], edi                                                ; +0x233, 0x1405208e3\nmov     [rbx+214h], di                                                 ; +0x239, 0x1405208e9\nmov     [rbx+218h], edi                                                ; +0x240, 0x1405208f0\nmov     [rbx+21Ch], dil                                                ; +0x246, 0x1405208f6\nmov     [rbx+220h], rdi                                                ; +0x24d, 0x1405208fd\nlea     rcx, [rbx+228h]                                                ; +0x254, 0x140520904\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x25b, 0x14052090b\nlea     rcx, [rbx+230h]                                                ; +0x261, 0x140520911\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x268, 0x140520918\nmov     [rbx+238h], rdi                                                ; +0x26e, 0x14052091e\nmov     [rbx+240h], di                                                 ; +0x275, 0x140520925\nmov     [rbx+244h], rdi                                                ; +0x27c, 0x14052092c\nlea     rcx, [rbx+24Ch]                                                ; +0x283, 0x140520933\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x28a, 0x14052093a\nlea     rcx, [rbx+254h]                                                ; +0x290, 0x140520940\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x297, 0x140520947\nmov     [rbx+25Ch], dil                                                ; +0x29d, 0x14052094d\nmov     [rbx+260h], edi                                                ; +0x2a4, 0x140520954\nlea     rcx, [rbx+264h]                                                ; +0x2aa, 0x14052095a\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x2b1, 0x140520961\nmov     [rbx+26Ch], edi                                                ; +0x2b7, 0x140520967\nmov     [rbx+270h], dil                                                ; +0x2bd, 0x14052096d\nmov     [rbx+274h], edi                                                ; +0x2c4, 0x140520974\nmov     [rbx+278h], di                                                 ; +0x2ca, 0x14052097a\nmov     [rbx+27Ah], dil                                                ; +0x2d1, 0x140520981\nmov     [rbx+27Ch], rdi                                                ; +0x2d8, 0x140520988\nmov     dword ptr [rbx+284h], 3F800000h                                ; +0x2df, 0x14052098f\nmov     dword ptr [rbx+288h], 3F800000h                                ; +0x2e9, 0x140520999\nmov     dword ptr [rbx+28Ch], 3F800000h                                ; +0x2f3, 0x1405209a3\nmov     [rbx+290h], dil                                                ; +0x2fd, 0x1405209ad\nmov     [rbx+294h], edi                                                ; +0x304, 0x1405209b4\nmov     dword ptr [rbx+298h], 3F800000h                                ; +0x30a, 0x1405209ba\nmov     dword ptr [rbx+29Ch], 3F800000h                                ; +0x314, 0x1405209c4\nmov     qword ptr [rbx+2A0h], 3F800000h                                ; +0x31e, 0x1405209ce\nmov     [rbx+2A8h], rdi                                                ; +0x329, 0x1405209d9\nmov     [rbx+2B0h], rdi                                                ; +0x330, 0x1405209e0\nmov     [rbx+2B8h], rdi                                                ; +0x337, 0x1405209e7\nmov     [rbx+2C0h], dil                                                ; +0x33e, 0x1405209ee\nmov     [rbx+2C4h], rdi                                                ; +0x345, 0x1405209f5\nmov     [rbx+2CCh], di                                                 ; +0x34c, 0x1405209fc\nmov     [rbx+2CEh], dil                                                ; +0x353, 0x140520a03\nmov     rax, rbx                                                       ; +0x35a, 0x140520a0a\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x35d, 0x140520a0d\nadd     rsp, 20h                                                       ; +0x362, 0x140520a12\npop     rdi                                                            ; +0x366, 0x140520a16\nretn                                                                   ; +0x367, 0x140520a17", "xrefs": ["GJBaseGameLayer::setupLayers @ 0x14031103c", "CheckpointObject::CheckpointObject @ 0x140520fac", "<???> @ 0x14092b3c4"], "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"}