// // sub_100051E70 from 0x100051e70 to 0x100051ed0 (96 bytes) // // 1 xrefs: // > @ 0x1008b1430 // // 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_100051E70(__int64 a1, __int64 a2) { __int64 result; // rax __int64 v3; // rbx cocos2d::CCSpriteFrameCache *v4; // rax cocos2d::CCSpriteFrame *v5; // rax __int64 v6; // rdi result = *(unsigned int *)(a1 + 120); if ( (_DWORD)result != -1 && (_DWORD)result == *(_DWORD *)(a2 + 56) ) { *(_DWORD *)(a1 + 120) = -1; v3 = *(_QWORD *)(a1 + 104); v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "GJ_rotationControlBtn01_001.png"); result = (*(__int64 (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v3 + 1144LL))(v3, v5); v6 = *(_QWORD *)(a1 + 128); if ( v6 ) return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source