{"type": "func", "start": 303484, "end": 303532, "name": "sub_4A17C", "pseudocode": "// \n// sub_4A17C from 0x4a17c to 0x4a1ac (48 bytes)\n// \n// 0 xrefs:\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_4A17C(int a1, int a2, int a3)\n{\n  int result; // r0\n  int v6; // [sp+4h] [bp-Ch] BYREF\n\n  v6 = 0;\n  result = sub_480B4(a1, a2, a3);\n  if ( !result )\n  {\n    result = sub_AB858(a3, &v6);\n    if ( !result )\n    {\n      result = 0;\n      if ( v6 == 25 )\n        *(_DWORD *)(a1 + 412) = a3;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_4A17C from 0x4a17c to 0x4a1ac (48 bytes)\n; \n; 0 xrefs:\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            {R2-R5,R7,LR}                                          ; +0x0, 0x4a17c\nADD             R7, SP, #0x10                                          ; +0x2, 0x4a17e\nMOV             R5, R0                                                 ; +0x4, 0x4a180\nMOVS            R0, #0                                                 ; +0x6, 0x4a182\nSTR             R0, [SP,#8+var_4]                                      ; +0x8, 0x4a184\nMOV             R0, R5                                                 ; +0xa, 0x4a186\nMOV             R4, R2                                                 ; +0xc, 0x4a188\nBL              sub_480B4                                              ; +0xe, 0x4a18a\nCBNZ            R0, loc_4A1A8                                          ; +0x12, 0x4a18e\nADD             R1, SP, #8+var_4                                       ; +0x14, 0x4a190\nMOV             R0, R4                                                 ; +0x16, 0x4a192\nBL              sub_AB858                                              ; +0x18, 0x4a194\nCBNZ            R0, loc_4A1A8                                          ; +0x1c, 0x4a198\nLDR             R0, [SP,#8+var_4]                                      ; +0x1e, 0x4a19a\nCMP             R0, #0x19                                              ; +0x20, 0x4a19c\nMOV.W           R0, #0                                                 ; +0x22, 0x4a19e\nIT EQ                                                                  ; +0x26, 0x4a1a2\nSTREQ.W         R4, [R5,#0x19C]                                        ; +0x28, 0x4a1a4\nADD             SP, SP, #8                                             ; +0x2c, 0x4a1a8\nPOP             {R4,R5,R7,PC}                                          ; +0x2e, 0x4a1aa", "xrefs": [], "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"}