// // cocos2d::unzGetLocalExtrafield from 0x1800a4a20 to 0x1800a4b0f (239 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801c1a7c // // 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:22:15 +0000 // __int64 __fastcall cocos2d::unzGetLocalExtrafield(cocos2d *this, void *a2, void *a3) { unsigned __int64 v3; // rdi __int64 v5; // rbx __int64 v6; // r8 unsigned __int64 v7; // rcx v3 = (unsigned int)a3; if ( !this ) return 4294967194LL; v5 = *((_QWORD *)this + 34); if ( !v5 ) return 4294967194LL; v6 = *(_QWORD *)(v5 + 128); v7 = *(unsigned int *)(v5 + 120) - v6; if ( !a2 ) return (unsigned int)v7; if ( v3 > v7 ) LODWORD(v3) = *(_DWORD *)(v5 + 120) - v6; if ( !(_DWORD)v3 ) return 0; if ( (unsigned int)sub_1800A3520(v5 + 168, *(_QWORD *)(v5 + 256), *(_QWORD *)(v5 + 112) + v6) ) return 0xFFFFFFFFLL; if ( (*(unsigned int (__fastcall **)(_QWORD, _QWORD, void *, _QWORD))(v5 + 176))( *(_QWORD *)(v5 + 224), *(_QWORD *)(v5 + 256), a2, (unsigned int)v3) != (_DWORD)v3 ) LODWORD(v3) = -1; return (unsigned int)v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source