{"type": "func", "start": 590568, "end": 590618, "name": "sub_902E8", "pseudocode": "// \n// sub_902E8 from 0x902e8 to 0x9031a (50 bytes)\n// \n// 3 xrefs:\n// > sub_90580 @ 0x905c0\n// > <???> @ 0x90964\n// > sub_90A80 @ 0x90a86\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall sub_902E8(int a1)\n{\n  unsigned int v2; // r0\n  void *v3; // r0\n\n  v2 = *(_DWORD *)(a1 + 420);\n  if ( !v2 )\n  {\n    sub_9031C(a1);\n    v2 = *(_DWORD *)(a1 + 420);\n  }\n  *(_DWORD *)(a1 + 436) = 0;\n  *(_QWORD *)(a1 + 424) = v2;\n  v3 = *(void **)(a1 + 404);\n  if ( v3 )\n    memset(v3, 0, *(_DWORD *)(a1 + 412));\n  return 0;\n}", "assembly": "; \n; sub_902E8 from 0x902e8 to 0x9031a (50 bytes)\n; \n; 3 xrefs:\n; > sub_90580 @ 0x905c0\n; > <???> @ 0x90964\n; > sub_90A80 @ 0x90a86\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4,R6,R7,LR}                                          ; +0x0, 0x902e8\nADD             R7, SP, #8                                             ; +0x2, 0x902ea\nMOV             R4, R0                                                 ; +0x4, 0x902ec\nLDR.W           R0, [R0,#0x1A4]                                        ; +0x6, 0x902ee\nCBNZ            R0, loc_902FE                                          ; +0xa, 0x902f2\nMOV             R0, R4                                                 ; +0xc, 0x902f4\nBL              sub_9031C                                              ; +0xe, 0x902f6\nLDR.W           R0, [R4,#0x1A4]                                        ; +0x12, 0x902fa\nMOVS            R1, #0                                                 ; +0x16, 0x902fe\nSTR.W           R1, [R4,#0x1B4]                                        ; +0x18, 0x90300\nSTRD.W          R0, R1, [R4,#0x1A8]                                    ; +0x1c, 0x90304\nLDR.W           R0, [R4,#0x194]                                        ; +0x20, 0x90308\nCBZ             R0, loc_90316                                          ; +0x24, 0x9030c\nLDR.W           R1, [R4,#0x19C]                                        ; +0x26, 0x9030e\nBLX             __aeabi_memclr                                         ; +0x2a, 0x90312\nMOVS            R0, #0                                                 ; +0x2e, 0x90316\nPOP             {R4,R6,R7,PC}                                          ; +0x30, 0x90318", "xrefs": ["sub_90580 @ 0x905c0", "<???> @ 0x90964", "sub_90A80 @ 0x90a86"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}