{"type": "func", "start": 377886, "end": 377926, "name": "sub_5C41E", "pseudocode": "// \n// sub_5C41E from 0x5c41e to 0x5c446 (40 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:40:49 +0000\n// \n\nint __fastcall sub_5C41E(int *a1, int a2, int a3)\n{\n  int v4; // r0\n\n  if ( a2 == 2 )\n    return 68;\n  v4 = *a1;\n  if ( a2 == 1 )\n  {\n    *(_DWORD *)(v4 + 404) = a3;\n    return 0;\n  }\n  else if ( a2 )\n  {\n    return 31;\n  }\n  else\n  {\n    *(_DWORD *)(v4 + 400) = a3;\n    return 0;\n  }\n}", "assembly": "; \n; sub_5C41E from 0x5c41e to 0x5c446 (40 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:40:49 +0000\n; \nCMP             R1, #2                                                 ; +0x0, 0x5c41e\nITT EQ                                                                 ; +0x2, 0x5c420\nMOVEQ           R0, #0x44 ; 'D'                                        ; +0x4, 0x5c422\nBXEQ            LR                                                     ; +0x6, 0x5c424\nLDR             R0, [R0]                                               ; +0x8, 0x5c426\nVMOV            S0, R2                                                 ; +0xa, 0x5c428\nCMP             R1, #1                                                 ; +0xe, 0x5c42c\nITTT EQ                                                                ; +0x10, 0x5c42e\nVSTREQ          S0, [R0,#0x194]                                        ; +0x12, 0x5c430\nMOVEQ           R0, #0                                                 ; +0x16, 0x5c434\nBXEQ            LR                                                     ; +0x18, 0x5c436\nCMP             R1, #0                                                 ; +0x1a, 0x5c438\nITEE NE                                                                ; +0x1c, 0x5c43a\nMOVNE           R0, #0x1F                                              ; +0x1e, 0x5c43c\nVSTREQ          S0, [R0,#0x190]                                        ; +0x20, 0x5c43e\nMOVEQ           R0, #0                                                 ; +0x24, 0x5c442\nBX              LR                                                     ; +0x26, 0x5c444", "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"}