{"type": "func", "start": 464484, "end": 464556, "name": "sub_71664", "pseudocode": "// \n// sub_71664 from 0x71664 to 0x716ac (72 bytes)\n// \n// 1 xrefs:\n// > sub_71B50 @ 0x71b8e\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\n_DWORD *__fastcall sub_71664(__int64 *a1, _DWORD *a2, _DWORD *a3, _DWORD *a4, _DWORD *a5, _BYTE *a6)\n{\n  __int64 v6; // r4\n  _DWORD *result; // r0\n\n  v6 = *a1;\n  if ( a2 )\n    *a2 = HIDWORD(v6) >> 2;\n  if ( a3 )\n    *a3 = 32 * (v6 >> 7);\n  if ( a6 )\n    *a6 = v6 & 1;\n  result = a5;\n  if ( a4 )\n    *a4 = dword_22B08[((unsigned int)v6 >> 5) & 3];\n  if ( a5 )\n    *a5 = *(_DWORD *)((char *)&unk_22C38 + 2 * (v6 & 0x1E));\n  return result;\n}", "assembly": "; \n; sub_71664 from 0x71664 to 0x716ac (72 bytes)\n; \n; 1 xrefs:\n; > sub_71B50 @ 0x71b8e\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, 0x71664\nADD             R7, SP, #8                                             ; +0x2, 0x71666\nLDR             R4, [R0]                                               ; +0x4, 0x71668\nLDR             R5, [R0,#4]                                            ; +0x6, 0x7166a\nCBZ             R1, loc_71672                                          ; +0x8, 0x7166c\nLSRS            R0, R5, #2                                             ; +0xa, 0x7166e\nSTR             R0, [R1]                                               ; +0xc, 0x71670\nLDR             R0, [R7,#-8+arg_4]                                     ; +0xe, 0x71672\nCBZ             R2, loc_71680                                          ; +0x10, 0x71674\nLSRS            R1, R4, #7                                             ; +0x12, 0x71676\nORR.W           R1, R1, R5,LSL#25                                      ; +0x14, 0x71678\nLSLS            R1, R1, #5                                             ; +0x18, 0x7167c\nSTR             R1, [R2]                                               ; +0x1a, 0x7167e\nCBZ             R0, loc_71688                                          ; +0x1c, 0x71680\nAND.W           R1, R4, #1                                             ; +0x1e, 0x71682\nSTRB            R1, [R0]                                               ; +0x22, 0x71686\nLDR             R0, [R7,#-8+arg_0]                                     ; +0x24, 0x71688\nCBZ             R3, loc_7169A                                          ; +0x26, 0x7168a\nUBFX.W          R1, R4, #5, #2                                         ; +0x28, 0x7168c\nLDR             R2, =(dword_22B08 - 0x71696)                           ; +0x2c, 0x71690\nADD             R2, PC; dword_22B08                                    ; +0x2e, 0x71692\nLDR.W           R1, [R2,R1,LSL#2]                                      ; +0x30, 0x71694\nSTR             R1, [R3]                                               ; +0x34, 0x71698\nCBZ             R0, locret_716AA                                       ; +0x36, 0x7169a\nLDR             R2, =(unk_22C38 - 0x716A6)                             ; +0x38, 0x7169c\nAND.W           R1, R4, #0x1E                                          ; +0x3a, 0x7169e\nADD             R2, PC; unk_22C38                                      ; +0x3e, 0x716a2\nLDR.W           R1, [R2,R1,LSL#1]                                      ; +0x40, 0x716a4\nSTR             R1, [R0]                                               ; +0x44, 0x716a8\nPOP             {R4,R5,R7,PC}                                          ; +0x46, 0x716aa", "xrefs": ["sub_71B50 @ 0x71b8e"], "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"}