// // sub_100178020 from 0x100178020 to 0x100178065 (69 bytes) // // 4 xrefs: // > @ 0x1008c2fd8 // > @ 0x1008eaca8 // > @ 0x10095e048 // > @ 0x100974530 // // 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 // __int64 __fastcall sub_100178020(__int64 a1) { cocos2d::CCTexture2D *v1; // rax bool v2; // zf __int64 result; // rax int v4; // ecx (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 104LL))(*(_QWORD *)(a1 + 8)); v1 = (cocos2d::CCTexture2D *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 96LL))(*(_QWORD *)(a1 + 8)); v2 = !cocos2d::CCTexture2D::hasPremultipliedAlpha(v1); result = 1; v4 = 770; if ( !v2 ) v4 = 1; *(_DWORD *)(a1 + 16) = v4; *(_DWORD *)(a1 + 20) = 771; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source