// // GJBaseGameLayer::loadGroupParentsFromString from 0x860450 to 0x8605cc (380 bytes) // // 2 xrefs: // > GameObject::objectFromVector @ 0x6551f8 // > @ 0x49d28 // // 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 GJBaseGameLayer::loadGroupParentsFromString( GJBaseGameLayer *a1, GameObject *a2, _QWORD *a3, long double a4) { unsigned __int64 v8; // x19 __int64 v9; // x20 __int64 v10; // x3 long double v11; // q0 const char *v12; // x19 int v13; // w2 char *v14; // x0 unsigned int *v15; // x19 int v16; // w1 int v17; // [xsp+68h] [xbp+68h] const char *v18; // [xsp+80h] [xbp+80h] BYREF if ( *(_QWORD *)(*a3 - 24LL) ) { v8 = 0; v9 = sub_D16674(a3, 46, 0, a4); v10 = v9; while ( 1 ) { sub_D14F84(&v18, a3, v8, v10); v12 = v18; v13 = atoi(v18); v14 = (char *)(v12 - 24); if ( v12 - 24 != (const char *)&qword_124B6B0 ) { if ( &pthread_create ) { v15 = (unsigned int *)(v12 - 8); do v16 = __ldaxr(v15); while ( __stlxr(v16 - 1, v15) ); } else { v16 = *((_DWORD *)v12 - 2); *((_DWORD *)v12 - 2) = v16 - 1; } if ( v16 <= 0 ) { v17 = v13; operator delete(v14); v13 = v17; } } GJBaseGameLayer::setGroupParent(a1, a2, v13); if ( v9 == -1 ) break; v8 = v9 + 1; v9 = sub_D16674(a3, 46, v9 + 1, v11); v10 = v9 - v8; if ( v8 > *(_QWORD *)(*a3 - 24LL) ) sub_D13C5C( "%s: __pos (which is %zu) > this->size() (which is %zu)", "basic_string::substr", v8, *(_QWORD *)(*a3 - 24LL)); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source