// // sub_10042B060 from 0x10042b060 to 0x10042b178 (280 bytes) // // 2 xrefs: // > sub_10014A88C @ 0x10014a8e0 // > GJBaseGameLayer::playAnimationCommand @ 0x100286218 // // 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:05:03 +0000 // void __fastcall sub_10042B060(__int64 a1, __int64 a2) { int v2; // w20 std::string::size_type size; // x8 int v5; // w9 std::string *v6; // x19 std::string *p_dst; // x8 std::string v8; // [xsp+0h] [xbp-60h] BYREF std::string __dst; // [xsp+20h] [xbp-40h] BYREF std::string __str; // [xsp+38h] [xbp-28h] BYREF v2 = a2; sub_10042B1C4(&__str, a2, *(unsigned int *)(a1 + 1028)); size = HIBYTE(__str.__r_.__value_.__r.__words[2]); if ( (__str.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL ) size = __str.__r_.__value_.__l.__size_; if ( size ) { *(_DWORD *)(a1 + 1524) = v2; std::string::operator=((std::string *)(a1 + 1496), &__str); *(_BYTE *)(a1 + 1489) = 1; v5 = *(unsigned __int8 *)(a1 + 773); v6 = *(std::string **)(a1 + 1464); if ( v5 == 1 ) { if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&__dst, __str.__r_.__value_.__l.__data_, __str.__r_.__value_.__l.__size_); else __dst = __str; CCAnimatedSprite::tweenToAnimation(v6, (__int64)&__dst, 0.05); if ( SHIBYTE(__dst.__r_.__value_.__r.__words[2]) < 0 ) { p_dst = &__dst; LABEL_15: operator delete(p_dst->__r_.__value_.__l.__data_); } } else { if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&v8, __str.__r_.__value_.__l.__data_, __str.__r_.__value_.__l.__size_); else v8 = __str; CCAnimatedSprite::runAnimationForced((__int64)v6, (__int64)&v8); if ( SHIBYTE(v8.__r_.__value_.__r.__words[2]) < 0 ) { p_dst = &v8; goto LABEL_15; } } } if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__str.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source