// // sub_14045FE00 from 0x14045fe00 to 0x14045fe99 (153 bytes) // // 2 xrefs: // > LevelTools::sortChannelOrderObjects @ 0x1404683a3 // > @ 0x140927e18 // // 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:32:33 +0000 // __int64 __fastcall sub_14045FE00(__int64 *a1, __int64 *a2) { __int64 v2; // rsi __int64 v3; // rbp int v4; // ebx int v5; // edi float v7; // [rsp+30h] [rbp+8h] BYREF v2 = *a1; v3 = *a2; v4 = *(_DWORD *)(*a1 + 1788); v5 = *(_DWORD *)(*a2 + 1788); if ( v4 == v5 ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, (const struct cocos2d::CCPoint *)(v2 + 1800)); v4 = (int)(float)((float)v4 - v7); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, (const struct cocos2d::CCPoint *)(v3 + 1800)); v5 = (int)(float)((float)v5 - v7); if ( v4 == v5 ) { v4 += *(_DWORD *)(v2 + 924); v5 += *(_DWORD *)(v3 + 924); } } return (unsigned int)(v4 - v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source