{"type": "func", "start": 796974, "end": 797036, "name": "sub_C292E", "pseudocode": "// \n// sub_C292E from 0xc292e to 0xc296c (62 bytes)\n// \n// 2 xrefs:\n// > sub_C2720 @ 0xc28ea\n// > sub_C2928 @ 0xc292a\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_C292E(int a1)\n{\n  if ( (***(int (__fastcall ****)(_DWORD, int, _DWORD))(a1 + 1240))(\n         *(_DWORD *)(a1 + 1240),\n         *(_DWORD *)(a1 + 1244) + *(_DWORD *)(a1 + 1260),\n         *(_DWORD *)(a1 + 1252)) )\n  {\n    return 28;\n  }\n  *(_DWORD *)(a1 + 1244) = (unsigned int)(*(_DWORD *)(a1 + 1244) + *(_DWORD *)(a1 + 1252)) % *(_DWORD *)(a1 + 1256);\n  return 0;\n}", "assembly": "; \n; sub_C292E from 0xc292e to 0xc296c (62 bytes)\n; \n; 2 xrefs:\n; > sub_C2720 @ 0xc28ea\n; > sub_C2928 @ 0xc292a\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,R5,R7,LR}                                          ; +0x0, 0xc292e\nADD             R7, SP, #8                                             ; +0x2, 0xc2930\nMOV             R4, R0                                                 ; +0x4, 0xc2932\nLDR.W           R0, [R0,#0x4D8]                                        ; +0x6, 0xc2934\nLDR.W           R1, [R4,#0x4DC]                                        ; +0xa, 0xc2938\nLDR.W           R3, [R4,#0x4EC]                                        ; +0xe, 0xc293c\nLDR             R5, [R0]                                               ; +0x12, 0xc2940\nLDR.W           R2, [R4,#0x4E4]                                        ; +0x14, 0xc2942\nADD             R1, R3                                                 ; +0x18, 0xc2946\nLDR             R5, [R5]                                               ; +0x1a, 0xc2948\nBLX             R5                                                     ; +0x1c, 0xc294a\nCBZ             R0, loc_C2952                                          ; +0x1e, 0xc294c\nMOVS            R0, #0x1C                                              ; +0x20, 0xc294e\nPOP             {R4,R5,R7,PC}                                          ; +0x22, 0xc2950\nLDR.W           R0, [R4,#0x4DC]                                        ; +0x24, 0xc2952\nLDR.W           R2, [R4,#0x4E4]                                        ; +0x28, 0xc2956\nLDR.W           R1, [R4,#0x4E8]                                        ; +0x2c, 0xc295a\nADD             R0, R2                                                 ; +0x30, 0xc295e\nBLX             j___aeabi_uidivmod                                     ; +0x32, 0xc2960\nMOVS            R0, #0                                                 ; +0x36, 0xc2964\nSTR.W           R1, [R4,#0x4DC]                                        ; +0x38, 0xc2966\nPOP             {R4,R5,R7,PC}                                          ; +0x3c, 0xc296a", "xrefs": ["sub_C2720 @ 0xc28ea", "sub_C2928 @ 0xc292a"], "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"}