// // ShaderLayer::resetAllShaders from 0x14062a690 to 0x14062a8a2 (530 bytes) // // 4 xrefs: // > GJBaseGameLayer::triggerShaderCommand @ 0x140328ebe // > GJBaseGameLayer::resetLevelVariables @ 0x1403454ed // > LevelEditorLayer::updateGameObjects @ 0x1403fb18c // > @ 0x140930944 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:35:25 +0000 // __int64 __fastcall ShaderLayer::resetAllShaders(__int64 a1) { __int64 result; // rax int v3; // edx cocos2d::CCNode::stopAllActions((cocos2d::CCNode *)a1); sub_14035C120((_QWORD *)(a1 + 408)); sub_140066610((_QWORD *)(a1 + 472)); *(_DWORD *)(a1 + 804) = 1065353216; *(_DWORD *)(a1 + 584) = 0; *(_QWORD *)(a1 + 664) = 0; *(_DWORD *)(a1 + 744) = 0; *(_QWORD *)(a1 + 772) = 0; *(_DWORD *)(a1 + 572) = 0; *(_BYTE *)(a1 + 816) = 0; *(_QWORD *)(a1 + 792) = 0; *(_DWORD *)(a1 + 800) = 0; *(_QWORD *)(a1 + 808) = 0; *(_QWORD *)(a1 + 820) = 0; *(_BYTE *)(a1 + 828) = 0; *(_QWORD *)(a1 + 840) = 0; *(_DWORD *)(a1 + 848) = 0; *(_DWORD *)(a1 + 876) = 0; *(_QWORD *)(a1 + 908) = 0; *(_QWORD *)(a1 + 932) = 0; *(_QWORD *)(a1 + 916) = 0; *(_DWORD *)(a1 + 560) = 1065353216; *(_DWORD *)(a1 + 564) = 1065353216; *(_QWORD *)(a1 + 832) = 1065353216; cocos2d::CCPoint::operator=(a1 + 892, &unk_14090BCE8); *(_DWORD *)(a1 + 944) = 0; *(_QWORD *)(a1 + 976) = 0; *(_QWORD *)(a1 + 988) = 0; *(_WORD *)(a1 + 984) = 0; cocos2d::CCPoint::operator=(a1 + 1004, &unk_14090BCE8); *(_DWORD *)(a1 + 1028) = 0; *(_QWORD *)(a1 + 544) = 0xBFF0000000000000uLL; *(_QWORD *)(a1 + 1044) = 0; *(_DWORD *)(a1 + 1068) = 0; *(_DWORD *)(a1 + 1052) = 1065353216; *(_DWORD *)(a1 + 1056) = 1065353216; *(_DWORD *)(a1 + 1060) = 1065353216; *(_DWORD *)(a1 + 1072) = 1065353216; *(_DWORD *)(a1 + 1076) = 1065353216; *(_QWORD *)(a1 + 1080) = 1065353216; *(_QWORD *)(a1 + 1088) = 0; *(_BYTE *)(a1 + 1064) = 0; *(_QWORD *)(a1 + 1096) = 0; *(_QWORD *)(a1 + 1104) = 0; *(_WORD *)(a1 + 1124) = 0; *(_QWORD *)(a1 + 1116) = 0; result = *(_QWORD *)(a1 + 552); v3 = *(_DWORD *)(a1 + 1116); *(_QWORD *)(a1 + 536) = result; if ( v3 != 1 ) { *(_DWORD *)(a1 + 1116) = 1; *(_BYTE *)(a1 + 1124) = 1; } if ( *(_DWORD *)(a1 + 1120) != 15 ) { *(_BYTE *)(a1 + 1124) = 1; *(_DWORD *)(a1 + 1120) = 15; } if ( *(_BYTE *)(a1 + 1125) ) *(_BYTE *)(a1 + 1125) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source