// // sub_1000079AC from 0x1000079ac to 0x100007adc (304 bytes) // // 3 xrefs: // > sub_100008C9C @ 0x100008dd4 // > sub_100008C9C @ 0x100008f0c // > sub_1004796B4 @ 0x1004798cc // // This function is hookable on this platform (idp: arm, 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 10:57:11 +0000 // __int64 __fastcall sub_1000079AC(__int64 result, __int64 a2) { int v3; // w8 if ( (int)result > 66 ) { if ( (unsigned int)(result - 71) > 5 ) { if ( (unsigned int)(result - 67) < 2 ) return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a2 + 360LL))(a2, 180.0); if ( (unsigned int)(result - 69) >= 2 ) return result; cocos2d::CCSprite::setFlipX(a2, 1); } else { v3 = 1 << (result - 71); if ( (v3 & 3) != 0 ) return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a2 + 360LL))(a2, 90.0); if ( (v3 & 0xC) == 0 ) cocos2d::CCSprite::setFlipY(a2, 1); } return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a2 + 360LL))(a2, -90.0); } if ( (int)result > 55 ) { if ( (unsigned int)(result - 56) < 2 ) return cocos2d::CCSprite::setFlipX(a2, 1); if ( (unsigned int)(result - 65) < 2 ) return cocos2d::CCSprite::setFlipY(a2, 1); return result; } switch ( (_DWORD)result ) { case '3': return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a2 + 360LL))(a2, 90.0); case '4': return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a2 + 360LL))(a2, 270.0); case '5': return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a2 + 360LL))(a2, 180.0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source