// // sub_180076360 from 0x180076360 to 0x180076430 (208 bytes) // // 7 xrefs: // > sub_180075980 @ 0x180075989 // > cocos2d::CCEGLView::~CCEGLView @ 0x180075b08 // > cocos2d::CCEGLView::pumpRawInput @ 0x180078601 // > __dcrt_uninitialize_environments_nolock @ 0x1800e3b57 // > @ 0x18013b73c // > @ 0x18013b74c // > @ 0x1801b480c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall sub_180076360(_QWORD *a1) { __int64 v1; // rax _QWORD *v3; // r14 __int64 v4; // rbx void *v5; // rcx _QWORD *v6; // rcx v1 = a1[4]; if ( v1 ) { do a1[4] = --v1; while ( v1 ); a1[3] = 0; } v3 = a1 + 1; if ( a1[1] ) { v4 = a1[2]; if ( v4 ) { do { --v4; v5 = *(void **)(a1[1] + 8 * v4); if ( v5 ) j_j_free_0(v5); } while ( v4 ); v3 = a1 + 1; } v6 = (_QWORD *)a1[1]; if ( (unsigned __int64)(8LL * a1[2]) >= 0x1000 ) { if ( (unsigned __int64)v6 - *(v6 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v6 = (_QWORD *)*(v6 - 1); } j_j_free_0(v6); } *v3 = 0; a1[2] = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source