{"type": "func", "start": 622636, "end": 622714, "name": "sub_9802C", "pseudocode": "// \n// sub_9802C from 0x9802c to 0x9807a (78 bytes)\n// \n// 1 xrefs:\n// > sub_98754 @ 0x98756\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:29 +0000\n// \n\nint __fastcall sub_9802C(_DWORD *a1)\n{\n  int i; // r5\n  int v3; // r0\n  int result; // r0\n\n  for ( i = 0; ; ++i )\n  {\n    v3 = a1[41];\n    if ( i >= *(_DWORD *)(v3 + 72) )\n      break;\n    result = sub_AB218(a1, i, *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(v3 + 76) + 4 * i) + 48));\n    if ( result )\n      return result;\n  }\n  sub_9807A(a1);\n  a1[94] = a1[163];\n  a1[95] = a1[164];\n  sub_98094(a1);\n  return 0;\n}", "assembly": "; \n; sub_9802C from 0x9802c to 0x9807a (78 bytes)\n; \n; 1 xrefs:\n; > sub_98754 @ 0x98756\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:29 +0000\n; \nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x9802c\nADD             R7, SP, #8                                             ; +0x2, 0x9802e\nMOV             R4, R0                                                 ; +0x4, 0x98030\nMOVS            R5, #0                                                 ; +0x6, 0x98032\nLDR.W           R0, [R4,#0xA4]                                         ; +0x8, 0x98034\nLDR             R1, [R0,#0x48]                                         ; +0xc, 0x98038\nCMP             R5, R1                                                 ; +0xe, 0x9803a\nBGE             loc_98056                                              ; +0x10, 0x9803c\nLDR             R0, [R0,#0x4C]                                         ; +0x12, 0x9803e\nMOV             R1, R5                                                 ; +0x14, 0x98040\nLDR.W           R0, [R0,R5,LSL#2]                                      ; +0x16, 0x98042\nLDR             R2, [R0,#0x30]                                         ; +0x1a, 0x98046\nMOV             R0, R4                                                 ; +0x1c, 0x98048\nBL              sub_AB218                                              ; +0x1e, 0x9804a\nADDS            R5, #1                                                 ; +0x22, 0x9804e\nCMP             R0, #0                                                 ; +0x24, 0x98050\nBEQ             loc_98034                                              ; +0x26, 0x98052\nPOP             {R4,R5,R7,PC}                                          ; +0x28, 0x98054\nMOV             R0, R4                                                 ; +0x2a, 0x98056\nBL              sub_9807A                                              ; +0x2c, 0x98058\nLDR.W           R1, [R4,#0x28C]                                        ; +0x30, 0x9805c\nMOV             R0, R4                                                 ; +0x34, 0x98060\nSTR.W           R1, [R4,#0x178]                                        ; +0x36, 0x98062\nVLDR            S0, [R4,#0x290]                                        ; +0x3a, 0x98066\nVMOV            R2, S0                                                 ; +0x3e, 0x9806a\nVSTR            S0, [R4,#0x17C]                                        ; +0x42, 0x9806e\nBL              sub_98094                                              ; +0x46, 0x98072\nMOVS            R0, #0                                                 ; +0x4a, 0x98076\nPOP             {R4,R5,R7,PC}                                          ; +0x4c, 0x98078", "xrefs": ["sub_98754 @ 0x98756"], "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"}