// // GameManager::loadDpadFromString from 0x10031af70 to 0x10031b18c (540 bytes) // // 10 xrefs: // > GameManager::loadDPadLayout @ 0x10031ad70 // > GameManager::loadDPadLayout @ 0x10031adb8 // > GameManager::loadDPadLayout @ 0x10031ae00 // > GameManager::loadDPadLayout @ 0x10031ae48 // > GameManager::loadDPadLayout @ 0x10031ae74 // > GameManager::dataLoaded @ 0x10031bd30 // > GameManager::dataLoaded @ 0x10031bd60 // > GameManager::dataLoaded @ 0x10031bd90 // > GameManager::dataLoaded @ 0x10031bdc0 // > GameManager::dataLoaded @ 0x10031bdf0 // // 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 // void __fastcall GameManager::loadDpadFromString(int a1, __int64 a2, std::string *a3) { char *v4; // x21 unsigned __int64 v5; // x22 const char *v6; // x0 const char *v7; // x0 const char *v8; // x0 float v9; // s0 const char *v10; // x0 const char *v11; // x0 const char *v12; // x0 const char *v13; // x0 const char *v14; // x0 float v15; // s0 const char *v16; // x0 float v17; // s0 const char *v18; // x0 const char *v19; // x0 char *v20; // [xsp+0h] [xbp-270h] BYREF __int64 v21; // [xsp+8h] [xbp-268h] __int64 v22; // [xsp+10h] [xbp-260h] char **v23; // [xsp+18h] [xbp-258h] BYREF __int128 v24; // [xsp+20h] [xbp-250h] void *__p; // [xsp+30h] [xbp-240h] _BYTE v26[512]; // [xsp+38h] [xbp-238h] BYREF v24 = xmmword_1006350E0; __p = v26; v20 = nullptr; v21 = 0; v22 = 0; sub_100319AA4(a3, ",", (__int64)&v20); v4 = v20; v5 = 0xAAAAAAAAAAAAAAABLL * ((v21 - (__int64)v20) >> 3); if ( v5 >= 6 ) { v6 = v20; if ( v20[23] < 0 ) v6 = *(const char **)v20; *(_DWORD *)a2 = atoi(v6); v7 = v4 + 24; if ( v4[47] < 0 ) v7 = *(const char **)v7; *(_DWORD *)(a2 + 4) = atoi(v7); v8 = v4 + 48; if ( v4[71] < 0 ) v8 = *(const char **)v8; v9 = atof(v8); *(float *)(a2 + 12) = v9; v10 = v4 + 72; if ( v4[95] < 0 ) v10 = *(const char **)v10; *(_DWORD *)(a2 + 16) = (int)atof(v10); v11 = v4 + 96; if ( v4[119] < 0 ) v11 = *(const char **)v11; *(float *)(a2 + 28) = (float)atoi(v11); v12 = v4 + 120; if ( v4[143] < 0 ) v12 = *(const char **)v12; *(float *)(a2 + 32) = (float)atoi(v12); if ( v5 >= 0xB ) { v13 = v4 + 144; if ( v4[167] < 0 ) v13 = *(const char **)v13; *(_BYTE *)(a2 + 24) = atoi(v13) != 0; v14 = v4 + 168; if ( v4[191] < 0 ) v14 = *(const char **)v14; v15 = atof(v14); *(float *)(a2 + 8) = v15; v16 = v4 + 192; if ( v4[215] < 0 ) v16 = *(const char **)v16; v17 = atof(v16); *(float *)(a2 + 20) = v17; v18 = v4 + 216; if ( v4[239] < 0 ) v18 = *(const char **)v18; *(_BYTE *)(a2 + 25) = atoi(v18) != 0; v19 = v4 + 240; if ( v4[263] < 0 ) v19 = *(const char **)v19; *(_BYTE *)(a2 + 38) = atoi(v19) != 0; } } v23 = &v20; sub_1000177FC((void ***)&v23); if ( __p != v26 ) { if ( __p ) operator delete[](__p); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source