// // GJGarageLayer::textInputClosed from 0x1003a152c to 0x1003a1644 (280 bytes) // // 2 xrefs: // > j_GJGarageLayer::textInputClosed @ 0x1003a1690 // > @ 0x100944240 // // 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:46 +0000 // void __fastcall GJGarageLayer::textInputClosed(__int64 a1, _QWORD *a2) { std::string *v3; // x0 int v4; // w20 __int64 v5; // x0 __int64 v6; // x20 std::string *v7; // x1 void *v8[2]; // [xsp+8h] [xbp-78h] BYREF char v9; // [xsp+1Fh] [xbp-61h] std::string __str; // [xsp+20h] [xbp-60h] BYREF void *__p[2]; // [xsp+40h] [xbp-40h] BYREF char v12; // [xsp+57h] [xbp-29h] std::string v13; // [xsp+58h] [xbp-28h] BYREF CCTextInputNode::getString((__int64)a2, &v13); sub_100009900(__p, ""); v3 = (std::string *)sub_1000045BC(&v13, __p); v4 = (int)v3; if ( v12 < 0 ) { operator delete(__p[0]); if ( !v4 ) goto LABEL_6; goto LABEL_5; } if ( (_DWORD)v3 ) LABEL_5: v3 = std::string::assign(&v13, "Player"); LABEL_6: v5 = GameManager::sharedState(v3); *(_BYTE *)(v5 + 656) = 0; v6 = GameManager::sharedState(v5); if ( SHIBYTE(v13.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&__str, v13.__r_.__value_.__l.__data_, v13.__r_.__value_.__l.__size_); else __str = v13; std::string::operator=((std::string *)(v6 + 632), &__str); if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__str.__r_.__value_.__l.__data_); if ( (v13.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v7 = &v13; else v7 = (std::string *)v13.__r_.__value_.__r.__words[0]; sub_100009900(v8, (char *)v7); CCTextInputNode::setString(a2, (__int64 *)v8); if ( v9 < 0 ) operator delete(v8[0]); if ( SHIBYTE(v13.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v13.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source