// // GameObject::getActiveColorForMode from 0x771ac4 to 0x771bf8 (308 bytes) // // 5 xrefs: // > PlayLayer::addObject @ 0x6f428c // > PlayLayer::addObject @ 0x6f438c // > PlayLayer::addObject @ 0x6f43ac // > GameObject::colorForMode @ 0x771c28 // > @ 0xc2c20 // // 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 12:53:13 +0000 // char *__fastcall GameObject::getActiveColorForMode(GameObject *this, int a2, unsigned __int8 a3) { char *v4; // x19 __int64 v5; // x1 __int64 v6; // x0 __int64 v7; // x0 __int64 v9; // x21 if ( a2 == 1010 ) return (char *)&unk_1141618; if ( a2 <= 1010 ) { if ( a2 ) { LABEL_10: if ( a3 ) return (char *)(*((_QWORD *)this + 158) + 323LL); else return (char *)(*((_QWORD *)this + 159) + 323LL); } return (char *)&unk_1141610; } if ( a2 == 1011 ) return (char *)&unk_1141610; if ( a2 != 1012 ) goto LABEL_10; v4 = (char *)this + 637; if ( a3 ) { v5 = *(_QWORD *)(*((_QWORD *)this + 158) + 323LL); v6 = *((_QWORD *)this + 160); } else { v9 = *((_QWORD *)this + 160); v5 = *(_QWORD *)(*(__int64 (__fastcall **)(GameObject *, _QWORD, _QWORD, GameObject *))(*(_QWORD *)this + 944LL))( this, *(_QWORD *)(*(_QWORD *)this + 944LL), a3, this); v6 = v9; } v7 = GJEffectManager::colorForEffect(v6, v5, 0x3F26666600000000LL, 0x1003E19999ALL); *(_WORD *)((char *)this + 637) = v7; *((_BYTE *)this + 639) = BYTE2(v7); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source