{"type": "func", "start": 611704, "end": 611760, "name": "sub_95578", "pseudocode": "// \n// sub_95578 from 0x95578 to 0x955b0 (56 bytes)\n// \n// 1 xrefs:\n// > sub_9560C @ 0x9560e\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:41:27 +0000\n// \n\nint __fastcall sub_95578(int a1, int a2, _DWORD *a3, int a4)\n{\n  const char *v4; // r4\n\n  if ( a2 != 3 )\n    return 31;\n  *a3 = *(_DWORD *)(a1 + 524);\n  if ( a4 )\n  {\n    v4 = \"Linked\";\n    if ( !*(_DWORD *)(a1 + 524) )\n      v4 = \"Independent\";\n    sub_BE420(a4, 32, \"%s\", v4);\n  }\n  return 0;\n}", "assembly": "; \n; sub_95578 from 0x95578 to 0x955b0 (56 bytes)\n; \n; 1 xrefs:\n; > sub_9560C @ 0x9560e\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:41:27 +0000\n; \nPUSH            {R4,R6,R7,LR}                                          ; +0x0, 0x95578\nADD             R7, SP, #8                                             ; +0x2, 0x9557a\nCMP             R1, #3                                                 ; +0x4, 0x9557c\nBNE             loc_955AC                                              ; +0x6, 0x9557e\nLDR.W           R1, [R0,#0x20C]                                        ; +0x8, 0x95580\nSTR             R1, [R2]                                               ; +0xc, 0x95584\nCBZ             R3, loc_955A8                                          ; +0xe, 0x95586\nLDR.W           R0, [R0,#0x20C]                                        ; +0x10, 0x95588\nLDR             R1, =(aIndependent - 0x95596); \"Independent\" ...       ; +0x14, 0x9558c\nLDR             R4, =(aLinked - 0x9559A); \"Linked\" ...                 ; +0x16, 0x9558e\nCMP             R0, #0                                                 ; +0x18, 0x95590\nADD             R1, PC; \"Independent\"                                  ; +0x1a, 0x95592\nMOV             R0, R3                                                 ; +0x1c, 0x95594\nADD             R4, PC; \"Linked\"                                       ; +0x1e, 0x95596\nIT EQ                                                                  ; +0x20, 0x95598\nMOVEQ           R4, R1                                                 ; +0x22, 0x9559a\nLDR             R2, =(aS - 0x955A6); \"%s\" ...                          ; +0x24, 0x9559c\nMOVS            R1, #0x20 ; ' '                                        ; +0x26, 0x9559e\nMOV             R3, R4                                                 ; +0x28, 0x955a0\nADD             R2, PC; \"%s\"                                           ; +0x2a, 0x955a2\nBL              sub_BE420                                              ; +0x2c, 0x955a4\nMOVS            R0, #0                                                 ; +0x30, 0x955a8\nPOP             {R4,R6,R7,PC}                                          ; +0x32, 0x955aa\nMOVS            R0, #0x1F                                              ; +0x34, 0x955ac\nPOP             {R4,R6,R7,PC}                                          ; +0x36, 0x955ae", "xrefs": ["sub_9560C @ 0x9560e"], "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"}