{"type": "func", "start": 499450, "end": 499494, "name": "sub_79EFA", "pseudocode": "// \n// sub_79EFA from 0x79efa to 0x79f26 (44 bytes)\n// \n// 1 xrefs:\n// > sub_7798C @ 0x7798c\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:13 +0000\n// \n\nint __fastcall sub_79EFA(int a1, _DWORD *a2)\n{\n  int v2; // r0\n  int v3; // r2\n  int v4; // r3\n  int v5; // r4\n\n  if ( !a2 )\n    return 31;\n  v2 = a1 + 732;\n  v3 = 0;\n  v4 = 0;\n  while ( v3 != 10752 )\n  {\n    v5 = *(_DWORD *)(v2 + v3);\n    v3 += 672;\n    if ( v5 )\n      ++v4;\n  }\n  *a2 = v4;\n  return 0;\n}", "assembly": "; \n; sub_79EFA from 0x79efa to 0x79f26 (44 bytes)\n; \n; 1 xrefs:\n; > sub_7798C @ 0x7798c\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:13 +0000\n; \nCBZ             R1, loc_79F22                                          ; +0x0, 0x79efa\nPUSH            {R4,R6,R7,LR}                                          ; +0x2, 0x79efc\nADD             R7, SP, #8                                             ; +0x4, 0x79efe\nADD.W           R0, R0, #0x2DC                                         ; +0x6, 0x79f00\nMOVS            R2, #0                                                 ; +0xa, 0x79f04\nMOVS            R3, #0                                                 ; +0xc, 0x79f06\nCMP.W           R2, #0x2A00                                            ; +0xe, 0x79f08\nBEQ             loc_79F1C                                              ; +0x12, 0x79f0c\nLDR             R4, [R0,R2]                                            ; +0x14, 0x79f0e\nADD.W           R2, R2, #0x2A0                                         ; +0x16, 0x79f10\nCMP             R4, #0                                                 ; +0x1a, 0x79f14\nIT NE                                                                  ; +0x1c, 0x79f16\nADDNE           R3, #1                                                 ; +0x1e, 0x79f18\nB               loc_79F08                                              ; +0x20, 0x79f1a\nMOVS            R0, #0                                                 ; +0x22, 0x79f1c\nSTR             R3, [R1]                                               ; +0x24, 0x79f1e\nPOP             {R4,R6,R7,PC}                                          ; +0x26, 0x79f20\nMOVS            R0, #0x1F                                              ; +0x28, 0x79f22\nBX              LR                                                     ; +0x2a, 0x79f24", "xrefs": ["sub_7798C @ 0x7798c"], "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"}