// // sub_10007A080 from 0x10007a080 to 0x10007a17b (251 bytes) // // 2 xrefs: // > PlayLayer::init @ 0x100079725 // > sub_100602EF0 @ 0x1006030f7 // // This function is hookable on this platform (idp: pc, 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 12:19:59 +0000 // __int64 __fastcall sub_10007A080(__int64 a1, const char *a2, __int64 a3) { __int64 v3; // rbx char v4; // r14 char GameVariable; // al __int64 v6; // rax __int64 v7; // rax __int64 v8; // rdi __int64 v9; // rdx __int64 v10; // rax __int64 v11; // rdi __int64 v12; // rdx __int64 v13; // rax __int64 v14; // rdi __int64 v15; // rdx __int64 v16; // rax __int64 v17; // rdi __int64 v18; // rdx __int64 v19; // rax __int64 v20; // rdi __int64 v21; // rdx int v22; // eax __int64 v23; // rax __int64 result; // rax v3 = a1; v4 = 1; GameVariable = 1; if ( !*(_BYTE *)(*(_QWORD *)(a1 + 1936) + 770LL) ) { GameManager::sharedState(a1, a2, a3); a2 = "0172"; a1 = v6; GameVariable = GameManager::getGameVariable(v6, "0172"); } *(_BYTE *)(v3 + 12649) = GameVariable; GameManager::sharedState(a1, a2, a3); v8 = v7; *(_BYTE *)(v3 + 14400) = GameManager::getGameVariable(v7, "0095"); GameManager::sharedState(v8, "0095", v9); v11 = v10; *(_BYTE *)(v3 + 14636) = GameManager::getGameVariable(v10, "0099"); GameManager::sharedState(v11, "0099", v12); v14 = v13; *(_BYTE *)(v3 + 14344) = GameManager::getGameVariable(v13, "0126"); GameManager::sharedState(v14, "0126", v15); v17 = v16; *(_BYTE *)(v3 + 13946) = GameManager::getGameVariable(v16, "0176"); GameManager::sharedState(v17, "0176", v18); v20 = v19; *(_BYTE *)(v3 + 13945) = GameManager::getGameVariable(v19, "0177"); v22 = *(_DWORD *)(*(_QWORD *)(v3 + 1936) + 1436LL); if ( v22 == 1 ) goto LABEL_6; if ( v22 == 2 ) { v4 = 0; LABEL_6: *(_BYTE *)(v3 + 13945) = v4; } GameManager::sharedState(v20, "0177", v21); result = GameManager::getGameVariable(v23, "0072"); *(_BYTE *)(v3 + 14752) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source