{"type": "func", "start": 534876, "end": 534934, "name": "sub_8295C", "pseudocode": "// \n// sub_8295C from 0x8295c to 0x82996 (58 bytes)\n// \n// 1 xrefs:\n// > sub_838A4 @ 0x84678\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:18 +0000\n// \n\nint __fastcall sub_8295C(int a1)\n{\n  *(_DWORD *)(*(_DWORD *)(a1 + 4) + 20) = 0;\n  sub_4F22C(a1, 0);\n  while ( !*(_BYTE *)(a1 + 2421) )\n  {\n    sub_82996(a1, 0);\n    *(_DWORD *)(*(_DWORD *)(a1 + 4) + 20) += *(_DWORD *)(a1 + 1512);\n  }\n  sub_4F378(a1);\n  return 0;\n}", "assembly": "; \n; sub_8295C from 0x8295c to 0x82996 (58 bytes)\n; \n; 1 xrefs:\n; > sub_838A4 @ 0x84678\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:18 +0000\n; \nPUSH            {R4,R6,R7,LR}                                          ; +0x0, 0x8295c\nADD             R7, SP, #8                                             ; +0x2, 0x8295e\nMOV             R4, R0                                                 ; +0x4, 0x82960\nLDR             R0, [R0,#4]                                            ; +0x6, 0x82962\nMOVS            R1, #0                                                 ; +0x8, 0x82964\nSTR             R1, [R0,#0x14]                                         ; +0xa, 0x82966\nMOV             R0, R4                                                 ; +0xc, 0x82968\nMOVS            R1, #0                                                 ; +0xe, 0x8296a\nBL              sub_4F22C                                              ; +0x10, 0x8296c\nLDRB.W          R0, [R4,#0x975]                                        ; +0x14, 0x82970\nCBNZ            R0, loc_8298C                                          ; +0x18, 0x82974\nMOV             R0, R4                                                 ; +0x1a, 0x82976\nMOVS            R1, #0                                                 ; +0x1c, 0x82978\nBL              sub_82996                                              ; +0x1e, 0x8297a\nLDR             R1, [R4,#4]                                            ; +0x22, 0x8297e\nLDR.W           R0, [R4,#0x5E8]                                        ; +0x24, 0x82980\nLDR             R2, [R1,#0x14]                                         ; +0x28, 0x82984\nADD             R0, R2                                                 ; +0x2a, 0x82986\nSTR             R0, [R1,#0x14]                                         ; +0x2c, 0x82988\nB               loc_82970                                              ; +0x2e, 0x8298a\nMOV             R0, R4                                                 ; +0x30, 0x8298c\nBL              sub_4F378                                              ; +0x32, 0x8298e\nMOVS            R0, #0                                                 ; +0x36, 0x82992\nPOP             {R4,R6,R7,PC}                                          ; +0x38, 0x82994", "xrefs": ["sub_838A4 @ 0x84678"], "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"}