{"type": "func", "start": 4299103256, "end": 4299103384, "name": "InfoLayer::commentUploadFinished", "pseudocode": "// \n// InfoLayer::commentUploadFinished from 0x1003f1c18 to 0x1003f1c98 (128 bytes)\n// \n// 2 xrefs:\n// > sub_1003F1C98 @ 0x1003f1c9c\n// > <???> @ 0x10094b560\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:04:31 +0000\n// \n\nvoid __fastcall InfoLayer::commentUploadFinished(__int64 a1, int a2)\n{\n  __int64 v4; // x8\n  int v5; // w0\n  __int64 v6; // x0\n\n  v4 = *(_QWORD *)(a1 + 704);\n  if ( v4 )\n  {\n    if ( *(_BYTE *)(a1 + 880) != 1 )\n      return;\n    v5 = *(_DWORD *)(v4 + 376);\n  }\n  else\n  {\n    v5 = sub_1003F055C((_QWORD *)a1);\n  }\n  if ( v5 == a2 )\n  {\n    v6 = GameManager::sharedState();\n    GameManager::setGameVariable(v6, \"0069\", 0);\n    sub_1003F04AC(a1);\n    InfoLayer::loadPage(a1, 0, 0);\n  }\n}", "assembly": "; \n; InfoLayer::commentUploadFinished from 0x1003f1c18 to 0x1003f1c98 (128 bytes)\n; \n; 2 xrefs:\n; > sub_1003F1C98 @ 0x1003f1c9c\n; > <???> @ 0x10094b560\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:04:31 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003f1c18\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003f1c1c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003f1c20\nMOV             X20, X1                                                ; +0xc, 0x1003f1c24\nMOV             X19, X0                                                ; +0x10, 0x1003f1c28\nLDR             X8, [X0,#0x2C0]                                        ; +0x14, 0x1003f1c2c\nCBZ             X8, loc_1003F1C48                                      ; +0x18, 0x1003f1c30\nLDRB            W9, [X19,#0x370]                                       ; +0x1c, 0x1003f1c34\nCMP             W9, #1                                                 ; +0x20, 0x1003f1c38\nB.NE            loc_1003F1C8C                                          ; +0x24, 0x1003f1c3c\nLDR             W0, [X8,#0x178]                                        ; +0x28, 0x1003f1c40\nB               loc_1003F1C50                                          ; +0x2c, 0x1003f1c44\nMOV             X0, X19                                                ; +0x30, 0x1003f1c48\nBL              sub_1003F055C                                          ; +0x34, 0x1003f1c4c\nCMP             W0, W20                                                ; +0x38, 0x1003f1c50\nB.NE            loc_1003F1C8C                                          ; +0x3c, 0x1003f1c54\nBL              GameManager__sharedState                               ; +0x40, 0x1003f1c58\nADRL            X1, a0069; \"0069\"                                      ; +0x44, 0x1003f1c5c\nMOV             W2, #0                                                 ; +0x4c, 0x1003f1c64\nBL              GameManager__setGameVariable                           ; +0x50, 0x1003f1c68\nMOV             X0, X19                                                ; +0x54, 0x1003f1c6c\nBL              sub_1003F04AC                                          ; +0x58, 0x1003f1c70\nMOV             X0, X19                                                ; +0x5c, 0x1003f1c74\nMOV             W1, #0                                                 ; +0x60, 0x1003f1c78\nMOV             W2, #0                                                 ; +0x64, 0x1003f1c7c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x1003f1c80\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x1003f1c84\nB               InfoLayer__loadPage                                    ; +0x70, 0x1003f1c88\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x74, 0x1003f1c8c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x78, 0x1003f1c90\nRET                                                                    ; +0x7c, 0x1003f1c94", "xrefs": ["sub_1003F1C98 @ 0x1003f1c9c", "<???> @ 0x10094b560"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}