// // sub_1001D97E0 from 0x1001d97e0 to 0x1001d989c (188 bytes) // // 1 xrefs: // > SFXBrowser::setTextPopupClosed @ 0x1001f76b8 // // 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:00:26 +0000 // double __fastcall sub_1001D97E0(__int64 a1, int a2, std::string *__str) { __int64 v4; // x19 __int64 v5; // x0 double result; // d0 std::string::size_type size; // x8 std::string v8; // [xsp+8h] [xbp-28h] BYREF v4 = 0; if ( a2 >= 1 ) { v5 = *(_QWORD *)(a1 + 824); if ( v5 ) v4 = cocos2d::CCDictionary::objectForKey_1(v5, (unsigned int)a2); } sub_1001D6ABC(&v8, __str); if ( SHIBYTE(__str->__r_.__value_.__r.__words[2]) < 0 ) operator delete(__str->__r_.__value_.__l.__data_); result = *(double *)&v8.__r_.__value_.__l.__data_; *__str = v8; if ( v4 ) { size = SHIBYTE(__str->__r_.__value_.__r.__words[2]); if ( (size & 0x8000000000000000LL) != 0 ) size = __str->__r_.__value_.__l.__size_; if ( size ) { std::string::operator=((std::string *)(v4 + 80), __str); sub_10004B424((char *)__str, (__int64 *)&v8); if ( *(char *)(v4 + 127) < 0 ) operator delete(*(void **)(v4 + 104)); result = *(double *)&v8.__r_.__value_.__l.__data_; *(std::string *)(v4 + 104) = v8; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source