// // GJShaderState::reset from 0x681808 to 0x681974 (364 bytes) // // 1 xrefs: // > ShaderLayer::resetAllShaders @ 0x68568c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:56:02 +0000 // int __fastcall GJShaderState::reset(GJShaderState *this) { _DWORD *i; // r0 _DWORD *v3; // r5 _DWORD *v4; // r3 _DWORD *j; // r0 _DWORD *v6; // r5 _DWORD *v7; // r3 int result; // r0 if ( *((_DWORD *)this + 3) ) { for ( i = *((_DWORD **)this + 2); i; i = v3 ) { v3 = (_DWORD *)*i; operator delete(i); } v4 = *((_DWORD **)this + 1); *((_DWORD *)this + 2) = 0; while ( i != v4 ) { *(_DWORD *)(*(_DWORD *)this + 4 * (_DWORD)i) = 0; i = (_DWORD *)((char *)i + 1); } *((_DWORD *)this + 3) = 0; } if ( *((_DWORD *)this + 8) ) { for ( j = *((_DWORD **)this + 7); j; j = v6 ) { v6 = (_DWORD *)*j; operator delete(j); } v7 = *((_DWORD **)this + 6); *((_DWORD *)this + 7) = 0; while ( j != v7 ) { *(_DWORD *)(*((_DWORD *)this + 5) + 4 * (_DWORD)j) = 0; j = (_DWORD *)((char *)j + 1); } *((_DWORD *)this + 8) = 0; } *((_DWORD *)this + 22) = 0; *((_QWORD *)this + 21) = 0; *((_DWORD *)this + 62) = 0; *((_DWORD *)this + 69) = 0; *((_DWORD *)this + 70) = 0; *((_DWORD *)this + 19) = 0; *((_BYTE *)this + 320) = 0; *((_DWORD *)this + 74) = 0; *((_DWORD *)this + 77) = 1065353216; *((_DWORD *)this + 76) = 0; *((_DWORD *)this + 78) = 0; *((_DWORD *)this + 79) = 0; *((_DWORD *)this + 75) = 0; *((_DWORD *)this + 81) = 0; *((_DWORD *)this + 82) = 0; *((_BYTE *)this + 332) = 0; *((_DWORD *)this + 16) = 1065353216; *((_DWORD *)this + 17) = 1065353216; *((_DWORD *)this + 84) = 1065353216; *((_DWORD *)this + 85) = 0; *((_DWORD *)this + 86) = 0; *((_DWORD *)this + 87) = 0; *((_DWORD *)this + 88) = 0; *((_DWORD *)this + 95) = 0; *((_DWORD *)this + 103) = 0; *((_DWORD *)this + 104) = 0; *((_DWORD *)this + 109) = 0; *((_DWORD *)this + 110) = 0; *((_DWORD *)this + 105) = 0; *((_DWORD *)this + 106) = 0; cocos2d::CCPoint::operator=((char *)this + 396, &unk_D2D368); *((_DWORD *)this + 112) = 0; *((_DWORD *)this + 120) = 0; *((_DWORD *)this + 121) = 0; *((_DWORD *)this + 123) = 0; *((_DWORD *)this + 124) = 0; *((_BYTE *)this + 488) = 0; *((_BYTE *)this + 489) = 0; result = cocos2d::CCPoint::operator=((char *)this + 508, &unk_D2D368); *((_DWORD *)this + 133) = 0; *((_DWORD *)this + 137) = 0; *((_DWORD *)this + 138) = 0; *((_DWORD *)this + 143) = 0; *((_DWORD *)this + 139) = 1065353216; *((_DWORD *)this + 140) = 1065353216; *((_DWORD *)this + 141) = 1065353216; *((_DWORD *)this + 144) = 1065353216; *((_DWORD *)this + 145) = 1065353216; *((_DWORD *)this + 146) = 1065353216; *((_DWORD *)this + 147) = 0; *((_DWORD *)this + 148) = 0; *((_DWORD *)this + 149) = 0; *((_BYTE *)this + 568) = 0; *((_QWORD *)this + 75) = 0; *((_QWORD *)this + 76) = 0; *((_BYTE *)this + 629) = 0; *((_QWORD *)this + 6) = 0xBFF0000000000000LL; *((_DWORD *)this + 155) = 0; *((_DWORD *)this + 156) = 0; *((_BYTE *)this + 628) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source