{"type": "func", "start": 647888, "end": 647992, "name": "sub_9E2D0", "pseudocode": "// \n// sub_9E2D0 from 0x9e2d0 to 0x9e338 (104 bytes)\n// \n// 1 xrefs:\n// > sub_9DF28 @ 0x9e0e2\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:32 +0000\n// \n\nint __fastcall sub_9E2D0(int a1, int a2, int a3, int a4, _DWORD *a5, _DWORD *a6, int a7, int a8)\n{\n  if ( *a6 || *a5 )\n  {\n    if ( a8 == 4 )\n    {\n      sub_A1A54(a1, a2, a3);\n      return 0;\n    }\n    if ( a8 == 3 )\n    {\n      sub_9E600(a1, a2, a3);\n      return 0;\n    }\n    if ( a8 != 1 )\n    {\n      sub_9F7C0(a1, a2, a3);\n      return 0;\n    }\n  }\n  sub_A1218(a1, a2, a3);\n  return 0;\n}", "assembly": "; \n; sub_9E2D0 from 0x9e2d0 to 0x9e338 (104 bytes)\n; \n; 1 xrefs:\n; > sub_9DF28 @ 0x9e0e2\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:32 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x9e2d0\nADD             R7, SP, #0xC                                           ; +0x2, 0x9e2d2\nPUSH.W          {R11}                                                  ; +0x4, 0x9e2d4\nSUB             SP, SP, #0x10                                          ; +0x8, 0x9e2d8\nLDR             R5, [R7,#-0x10+arg_4]                                  ; +0xa, 0x9e2da\nLDR.W           R12, [R7,#-0x10+arg_8]                                 ; +0xc, 0x9e2dc\nLDR             R6, [R7,#-0x10+arg_0]                                  ; +0x10, 0x9e2e0\nLDR             R4, [R5]                                               ; +0x12, 0x9e2e2\nCBNZ            R4, loc_9E2EA                                          ; +0x14, 0x9e2e4\nLDR             R4, [R6]                                               ; +0x16, 0x9e2e6\nCBZ             R4, loc_9E2F8                                          ; +0x18, 0x9e2e8\nLDR             R4, [R7,#-0x10+arg_C]                                  ; +0x1a, 0x9e2ea\nCMP             R4, #4                                                 ; +0x1c, 0x9e2ec\nBEQ             loc_9E306                                              ; +0x1e, 0x9e2ee\nCMP             R4, #3                                                 ; +0x20, 0x9e2f0\nBEQ             loc_9E314                                              ; +0x22, 0x9e2f2\nCMP             R4, #1                                                 ; +0x24, 0x9e2f4\nBNE             loc_9E322                                              ; +0x26, 0x9e2f6\nSTRD.W          R6, R5, [SP,#0x10+var_10]                              ; +0x28, 0x9e2f8\nSTR.W           R12, [SP,#0x10+var_8]                                  ; +0x2c, 0x9e2fc\nBL              sub_A1218                                              ; +0x30, 0x9e300\nB               loc_9E32E                                              ; +0x34, 0x9e304\nSTRD.W          R6, R5, [SP,#0x10+var_10]                              ; +0x36, 0x9e306\nSTR.W           R12, [SP,#0x10+var_8]                                  ; +0x3a, 0x9e30a\nBL              sub_A1A54                                              ; +0x3e, 0x9e30e\nB               loc_9E32E                                              ; +0x42, 0x9e312\nSTRD.W          R6, R5, [SP,#0x10+var_10]                              ; +0x44, 0x9e314\nSTR.W           R12, [SP,#0x10+var_8]                                  ; +0x48, 0x9e318\nBL              sub_9E600                                              ; +0x4c, 0x9e31c\nB               loc_9E32E                                              ; +0x50, 0x9e320\nSTRD.W          R6, R5, [SP,#0x10+var_10]                              ; +0x52, 0x9e322\nSTR.W           R12, [SP,#0x10+var_8]                                  ; +0x56, 0x9e326\nBL              sub_9F7C0                                              ; +0x5a, 0x9e32a\nMOVS            R0, #0                                                 ; +0x5e, 0x9e32e\nADD             SP, SP, #0x10                                          ; +0x60, 0x9e330\nPOP.W           {R11}                                                  ; +0x62, 0x9e332\nPOP             {R4-R7,PC}                                             ; +0x66, 0x9e336", "xrefs": ["sub_9DF28 @ 0x9e0e2"], "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"}