// // sub_10039A2FC from 0x10039a2fc to 0x10039a408 (268 bytes) // // 2 xrefs: // > sub_1003C1DFC @ 0x1003c1f1c // > sub_1003C1DFC @ 0x1003c1f7c // // 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 11:03:43 +0000 // __int64 __fastcall sub_10039A2FC(__int64 result, int a2) { __int64 v3; // x20 __int64 v4; // x21 __int64 v5; // x0 __int64 *v6; // x22 __int64 v7; // x0 unsigned __int8 *v8; // x21 int isFlipX; // w0 __int64 v10; // x21 unsigned __int16 *v11; // x0 _BYTE *v12; // x21 __int64 v13; // x0 if ( *(_DWORD *)(result + 680) != a2 ) { v3 = result; cocos2d::CCNode::stopAllActions(*(_QWORD *)(result + 656)); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v3 + 656) + 344LL))(*(_QWORD *)(v3 + 656), 0); if ( a2 == 1 ) { v4 = *(_QWORD *)(v3 + 664); v5 = *(_QWORD *)(v3 + 656); if ( !v4 ) { LABEL_7: cocos2d::CCNode::stopAllActions(v5); result = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v3 + 656) + 344LL))( *(_QWORD *)(v3 + 656), 1); *(_DWORD *)(v3 + 680) = a2; return result; } v6 = (__int64 *)(v3 + 664); v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 944LL))(v5); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 960LL))(v4, v7); v8 = *(unsigned __int8 **)(v3 + 664); isFlipX = cocos2d::CCSprite::isFlipX(*(_QWORD *)(v3 + 656)); cocos2d::CCSprite::setFlipX(v8, isFlipX); } else { v6 = (__int64 *)(v3 + 672); v10 = *(_QWORD *)(v3 + 672); v11 = (unsigned __int16 *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 656) + 944LL))(*(_QWORD *)(v3 + 656)); sub_100087CF4(v10, *v11 | (*((unsigned __int8 *)v11 + 2) << 16)); v12 = *(_BYTE **)(v3 + 672); v13 = cocos2d::CCSprite::isFlipX(*(_QWORD *)(v3 + 656)); sub_100087B48(v12, v13); } v5 = *v6; *(_QWORD *)(v3 + 656) = *v6; goto LABEL_7; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source