{"type": "func", "start": 5371456112, "end": 5371456162, "name": "GameObject::setDefaultSecondaryColorMode", "pseudocode": "// \n// GameObject::setDefaultSecondaryColorMode from 0x14029ea70 to 0x14029eaa2 (50 bytes)\n// \n// 24 xrefs:\n// > GameObject::setupCustomSprites @ 0x1402afb3e\n// > GameObject::setupCustomSprites @ 0x1402afbae\n// > GameObject::setupCustomSprites @ 0x1402afd4b\n// > GameObject::setupCustomSprites @ 0x1402afe3c\n// > GameObject::setupCustomSprites @ 0x1402afeb3\n// > GameObject::setupCustomSprites @ 0x1402affd1\n// > GameObject::setupCustomSprites @ 0x1402b006c\n// > GameObject::setupCustomSprites @ 0x1402b0107\n// > GameObject::setupCustomSprites @ 0x1402b4801\n// > GameObject::setupCustomSprites @ 0x1402b4bc4\n// > GameObject::setupCustomSprites @ 0x1402b4f0b\n// > GameObject::setupCustomSprites @ 0x1402b51b3\n// > GameObject::setupCustomSprites @ 0x1402b5900\n// > GameObject::setupCustomSprites @ 0x1402b5efd\n// > GameObject::setupCustomSprites @ 0x1402b635c\n// > GameObject::setupCustomSprites @ 0x1402b6ad4\n// > GameObject::setupCustomSprites @ 0x1402b6bf9\n// > GameObject::setupCustomSprites @ 0x1402bab57\n// > GameObject::setupCustomSprites @ 0x1402bb257\n// > GameObject::setupCustomSprites @ 0x1402c01d2\n// > GameObject::setupCustomSprites @ 0x1402c02fa\n// > GameObject::setupCustomSprites @ 0x1402c039f\n// > GameObject::setupCustomSprites @ 0x1402c04a4\n// > GameObject::setupCustomSprites @ 0x1402c05c2\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:29:15 +0000\n// \n\nvoid __fastcall GameObject::setDefaultSecondaryColorMode(__int64 a1, int a2)\n{\n  _DWORD *v2; // r8\n  int v3; // eax\n\n  v2 = *(_DWORD **)(a1 + 1112);\n  if ( v2 )\n  {\n    v3 = 1101;\n    if ( a2 < 0 )\n      a2 = 0;\n    if ( a2 <= 1101 )\n      v3 = a2;\n    v2[1] = v3;\n    *v2 = 0;\n  }\n}", "assembly": "; \n; GameObject::setDefaultSecondaryColorMode from 0x14029ea70 to 0x14029eaa2 (50 bytes)\n; \n; 24 xrefs:\n; > GameObject::setupCustomSprites @ 0x1402afb3e\n; > GameObject::setupCustomSprites @ 0x1402afbae\n; > GameObject::setupCustomSprites @ 0x1402afd4b\n; > GameObject::setupCustomSprites @ 0x1402afe3c\n; > GameObject::setupCustomSprites @ 0x1402afeb3\n; > GameObject::setupCustomSprites @ 0x1402affd1\n; > GameObject::setupCustomSprites @ 0x1402b006c\n; > GameObject::setupCustomSprites @ 0x1402b0107\n; > GameObject::setupCustomSprites @ 0x1402b4801\n; > GameObject::setupCustomSprites @ 0x1402b4bc4\n; > GameObject::setupCustomSprites @ 0x1402b4f0b\n; > GameObject::setupCustomSprites @ 0x1402b51b3\n; > GameObject::setupCustomSprites @ 0x1402b5900\n; > GameObject::setupCustomSprites @ 0x1402b5efd\n; > GameObject::setupCustomSprites @ 0x1402b635c\n; > GameObject::setupCustomSprites @ 0x1402b6ad4\n; > GameObject::setupCustomSprites @ 0x1402b6bf9\n; > GameObject::setupCustomSprites @ 0x1402bab57\n; > GameObject::setupCustomSprites @ 0x1402bb257\n; > GameObject::setupCustomSprites @ 0x1402c01d2\n; > GameObject::setupCustomSprites @ 0x1402c02fa\n; > GameObject::setupCustomSprites @ 0x1402c039f\n; > GameObject::setupCustomSprites @ 0x1402c04a4\n; > GameObject::setupCustomSprites @ 0x1402c05c2\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:29:15 +0000\n; \nmov     r8, [rcx+458h]                                                 ; +0x0, 0x14029ea70\ntest    r8, r8                                                         ; +0x7, 0x14029ea77\njz      short locret_14029EAA1                                         ; +0xa, 0x14029ea7a\nxor     r9d, r9d                                                       ; +0xc, 0x14029ea7c\nmov     eax, 44Dh                                                      ; +0xf, 0x14029ea7f\ntest    edx, edx                                                       ; +0x14, 0x14029ea84\ncmovs   edx, r9d                                                       ; +0x16, 0x14029ea86\ncmp     edx, eax                                                       ; +0x1a, 0x14029ea8a\njg      short loc_14029EA9A                                            ; +0x1c, 0x14029ea8c\ntest    edx, edx                                                       ; +0x1e, 0x14029ea8e\nmov     eax, edx                                                       ; +0x20, 0x14029ea90\nmov     ecx, 3F3h                                                      ; +0x22, 0x14029ea92\ncmovs   eax, ecx                                                       ; +0x27, 0x14029ea97\nmov     [r8+4], eax                                                    ; +0x2a, 0x14029ea9a\nmov     [r8], r9d                                                      ; +0x2e, 0x14029ea9e\nretn                                                                   ; +0x31, 0x14029eaa1", "xrefs": ["GameObject::setupCustomSprites @ 0x1402afb3e", "GameObject::setupCustomSprites @ 0x1402afbae", "GameObject::setupCustomSprites @ 0x1402afd4b", "GameObject::setupCustomSprites @ 0x1402afe3c", "GameObject::setupCustomSprites @ 0x1402afeb3", "GameObject::setupCustomSprites @ 0x1402affd1", "GameObject::setupCustomSprites @ 0x1402b006c", "GameObject::setupCustomSprites @ 0x1402b0107", "GameObject::setupCustomSprites @ 0x1402b4801", "GameObject::setupCustomSprites @ 0x1402b4bc4", "GameObject::setupCustomSprites @ 0x1402b4f0b", "GameObject::setupCustomSprites @ 0x1402b51b3", "GameObject::setupCustomSprites @ 0x1402b5900", "GameObject::setupCustomSprites @ 0x1402b5efd", "GameObject::setupCustomSprites @ 0x1402b635c", "GameObject::setupCustomSprites @ 0x1402b6ad4", "GameObject::setupCustomSprites @ 0x1402b6bf9", "GameObject::setupCustomSprites @ 0x1402bab57", "GameObject::setupCustomSprites @ 0x1402bb257", "GameObject::setupCustomSprites @ 0x1402c01d2", "GameObject::setupCustomSprites @ 0x1402c02fa", "GameObject::setupCustomSprites @ 0x1402c039f", "GameObject::setupCustomSprites @ 0x1402c04a4", "GameObject::setupCustomSprites @ 0x1402c05c2"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}