// // sub_1000109D4 from 0x1000109d4 to 0x100010a4c (120 bytes) // // 5 xrefs: // > sub_10001071C @ 0x100010810 // > GJEffectManager::playerButton @ 0x100015328 // > sub_1000156F4 @ 0x10001598c // > GJBaseGameLayer::toggleGroup @ 0x10028dc58 // > sub_100402F68 @ 0x100403050 // // 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 10:57:16 +0000 // __int64 __fastcall sub_1000109D4(__int64 a1, int a2, int a3) { int v3; // w8 unsigned __int64 v4; // x10 __int64 v5; // x8 unsigned __int64 v6; // x9 __int64 v7; // x10 int v9; // [xsp+Ch] [xbp-4h] BYREF v3 = a2 & ~(a2 >> 31); if ( v3 >= 9999 ) v4 = 9999; else v4 = (unsigned int)v3; v9 = v4; v5 = *(_QWORD *)(a1 + 1008); v6 = v4 >> 6; v7 = 1LL << v4; if ( a3 ) { *(_QWORD *)(v5 + 8 * v6) |= v7; return sub_10001BB58(a1 + 1032, &v9); } else { *(_QWORD *)(v5 + 8 * v6) &= ~v7; return sub_10001CC04(a1 + 1032, &v9, &v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source