{"type": "func", "start": 4518210, "end": 4518294, "name": "EnhancedGameObject::saveActiveColors", "pseudocode": "// \n// EnhancedGameObject::saveActiveColors from 0x44f142 to 0x44f196 (84 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:48:36 +0000\n// \n\nunsigned int __fastcall EnhancedGameObject::saveActiveColors(EnhancedGameObject *this)\n{\n  unsigned int result; // r0\n  float *v3; // r5\n\n  result = GameObject::saveActiveColors(this);\n  v3 = (float *)((char *)this + 1172);\n  if ( *((_BYTE *)this + 1228) )\n  {\n    if ( *v3 <= 0.0 && !*((_BYTE *)this + 1188) )\n    {\n      result = rand();\n      *v3 = vcvts_n_f32_s32(result, 0x1Fu);\n    }\n  }\n  else\n  {\n    *v3 = 0.0;\n    *((_DWORD *)this + 294) = 0;\n  }\n  if ( *((_BYTE *)this + 1206) )\n    return EnhancedGameObject::setupAnimationVariables(this);\n  return result;\n}", "assembly": "; \n; EnhancedGameObject::saveActiveColors from 0x44f142 to 0x44f196 (84 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:48:36 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x44f142\nMOV             R4, R0                                                 ; +0x2, 0x44f144\nBL              _ZN10GameObject16saveActiveColorsEv; GameObject::saveActiveColors(void) ; +0x4, 0x44f146\nLDRB.W          R3, [R4,#0x4CC]                                        ; +0x8, 0x44f14a\nADDW            R5, R4, #0x494                                         ; +0xc, 0x44f14e\nCBZ             R3, loc_44F17A                                         ; +0x10, 0x44f152\nVLDR            S15, [R5]                                              ; +0x12, 0x44f154\nVCMPE.F32       S15, #0.0                                              ; +0x16, 0x44f158\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1a, 0x44f15c\nBHI             loc_44F184                                             ; +0x1e, 0x44f160\nLDRB.W          R3, [R4,#0x4A4]                                        ; +0x20, 0x44f162\nCBNZ            R3, loc_44F184                                         ; +0x24, 0x44f166\nBLX             rand                                                   ; +0x26, 0x44f168\nVMOV            S15, R0                                                ; +0x2a, 0x44f16c\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x2e, 0x44f170\nVSTR            S15, [R5]                                              ; +0x32, 0x44f174\nB               loc_44F184                                             ; +0x36, 0x44f178\nADD.W           R2, R4, #0x498                                         ; +0x38, 0x44f17a\nMOVS            R3, #0                                                 ; +0x3c, 0x44f17e\nSTR             R3, [R5]                                               ; +0x3e, 0x44f180\nSTR             R3, [R2]                                               ; +0x40, 0x44f182\nLDRB.W          R3, [R4,#0x4B6]                                        ; +0x42, 0x44f184\nCBZ             R3, locret_44F194                                      ; +0x46, 0x44f188\nMOV             R0, R4; this                                           ; +0x48, 0x44f18a\nPOP.W           {R3-R5,LR}                                             ; +0x4a, 0x44f18c\nB.W             _ZN18EnhancedGameObject23setupAnimationVariablesEv; EnhancedGameObject::setupAnimationVariables(void) ; +0x4e, 0x44f190\nPOP             {R3-R5,PC}                                             ; +0x52, 0x44f194", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}