{"type": "func", "start": 5244340, "end": 5245032, "name": "FollowRewardPage::onSpecialItem", "pseudocode": "// \n// FollowRewardPage::onSpecialItem from 0x5005b4 to 0x500868 (692 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\nvoid FollowRewardPage::onSpecialItem(FollowRewardPage *a1, cocos2d::CCObject *a2)\n{\n  int v4; // r0\n  GameManager *v5; // r0\n  _BOOL4 UGV; // r10\n  char *v7; // r1\n  GameManager *v8; // r0\n  GameManager *v9; // r0\n  GameManager *v10; // r0\n  GameManager *v11; // r0\n  GameManager *v12; // r0\n  int v13; // r10\n  FLAlertLayer *v14; // r9\n  int *v15; // r10\n  GJRewardItem *v16; // r10\n  RewardUnlockLayer *v17; // r8\n  int v18; // [sp+8h] [bp-2Ch]\n  void *v19; // [sp+14h] [bp-20h] BYREF\n  int v20; // [sp+18h] [bp-1Ch] BYREF\n  _BYTE v21[4]; // [sp+1Ch] [bp-18h] BYREF\n  int v22; // [sp+20h] [bp-14h] BYREF\n  _BYTE v23[4]; // [sp+24h] [bp-10h] BYREF\n  _BYTE v24[4]; // [sp+28h] [bp-Ch] BYREF\n\n  v4 = a2->getTag(a2);\n  v19 = &unk_ACDDA8;\n  v18 = v4;\n  sub_776584((int)&v20, (char *)&unk_939830);\n  sub_776584((int)v21, (char *)&unk_939830);\n  sub_776584((int)&v22, (char *)&unk_939830);\n  switch ( v18 )\n  {\n    case 1:\n      sub_7753D4((int)&v19, \"0007\");\n      v5 = GameManager::sharedState();\n      UGV = GameManager::getUGV(v5, \"22\");\n      sub_7753D4((int)&v20, \"YouTube\");\n      sub_7753D4((int)v21, \"Subscribe to <cg>RobTop Games</c> on <cr>YouTube</c>\\nto unlock this <cy>chest</c>!\");\n      v7 = \"Sub!\";\n      goto LABEL_8;\n    case 2:\n      sub_7753D4((int)&v19, \"0008\");\n      v8 = GameManager::sharedState();\n      UGV = GameManager::getUGV(v8, \"24\");\n      sub_7753D4((int)&v20, \"Twitter\");\n      sub_7753D4((int)v21, \"Follow <cg>RobTop Games</c> on <cl>Twitter</c>\\nto unlock this <cy>chest</c>!\");\n      v7 = \"Follow!\";\n      goto LABEL_8;\n    case 3:\n      sub_7753D4((int)&v19, \"0009\");\n      v9 = GameManager::sharedState();\n      UGV = GameManager::getUGV(v9, \"23\");\n      sub_7753D4((int)&v20, \"Facebook\");\n      sub_7753D4((int)v21, \"Like <cg>Geometry Dash</c> on <cr>Facebook</c>\\nto unlock this <cy>chest</c>!\");\n      v7 = \"Like!\";\n      goto LABEL_8;\n    case 4:\n      sub_7753D4((int)&v19, \"0010\");\n      v10 = GameManager::sharedState();\n      UGV = GameManager::getUGV(v10, \"26\");\n      sub_7753D4((int)&v20, \"Twitch\");\n      sub_7753D4((int)v21, \"Follow <cg>Geometry Dash</c> on <cr>Twitch</c>\\nto unlock this <cy>chest</c>!\");\n      v7 = \"Follow!\";\n      goto LABEL_8;\n    case 5:\n      sub_7753D4((int)&v19, \"0011\");\n      v11 = GameManager::sharedState();\n      UGV = GameManager::getUGV(v11, \"27\");\n      sub_7753D4((int)&v20, \"Discord\");\n      sub_7753D4((int)v21, \"Join <cg>Geometry Dash</c> on <cr>Discord</c>\\nto unlock this <cy>chest</c>!\");\n      v7 = \"Join!\";\n      goto LABEL_8;\n    case 6:\n      sub_7753D4((int)&v19, \"0024\");\n      v12 = GameManager::sharedState();\n      UGV = GameManager::getUGV(v12, \"32\");\n      sub_7753D4((int)&v20, \"Reddit\");\n      sub_7753D4((int)v21, \"Join <cg>Geometry Dash</c> on <cr>Reddit</c>\\nto unlock this <cy>chest</c>!\");\n      v7 = \"Join!\";\nLABEL_8:\n      sub_7753D4((int)&v22, v7);\n      if ( UGV )\n      {\n        v15 = (int *)GameStatsManager::sharedState();\n        sub_775C20(v24);\n        v16 = GameStatsManager::unlockSpecialChest(v15, (stl::StringData<char>::Internal *)v24);\n        sub_774008(v24);\n        if ( v16 )\n        {\n          FollowRewardPage::switchToOpenedState(a1, (CCMenuItemSpriteExtra *)a2);\n          v17 = RewardUnlockLayer::create(v16->m_rewardType, nullptr);\n          a1->addChild_0(a1, v17, 100);\n          RewardUnlockLayer::showCollectReward(v17, v16);\n        }\n      }\n      else\n      {\n        v13 = v20;\n        sub_775C20(v23);\n        v14 = FLAlertLayer::create((int)&a1->FLAlertLayerProtocol, v13, (int)v23, (int)\"Cancel\", v22, 380.0);\n        sub_774008(v23);\n        v14->setTag(v14, v18);\n        ButtonSprite::updateBGImage(v14->m_button2, \"GJ_button_02.png\");\n        v14->show(v14);\n      }\n      break;\n    default:\n      break;\n  }\n  sub_774008(&v22);\n  sub_774008(v21);\n  sub_774008(&v20);\n  sub_774008(&v19);\n}", "assembly": "; \n; FollowRewardPage::onSpecialItem from 0x5005b4 to 0x500868 (692 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.W          {R4-R11,LR}                                            ; +0x0, 0x5005b4\nSUB             SP, SP, #0x34                                          ; +0x4, 0x5005b8\nLDR             R5, =(__stack_chk_guard_ptr - 0x5005C6)                ; +0x6, 0x5005ba\nMOV             R9, R0                                                 ; +0x8, 0x5005bc\nMOV             R0, R1                                                 ; +0xa, 0x5005be\nMOV             R11, R1                                                ; +0xc, 0x5005c0\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xe, 0x5005c2\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x10, 0x5005c4\nLDR.W           R10, =(off_AB5BA0 - 0x5005E0)                          ; +0x12, 0x5005c6\nADD             R6, SP, #0x34+var_1C                                   ; +0x16, 0x5005ca\nADD.W           R8, SP, #0x34+var_C                                    ; +0x18, 0x5005cc\nLDR             R3, [R5]                                               ; +0x1c, 0x5005d0\nSTR             R3, [SP,#0x34+var_8]                                   ; +0x1e, 0x5005d2\nLDR             R3, [R1]                                               ; +0x20, 0x5005d4\nLDR             R3, [R3,#0x20]                                         ; +0x22, 0x5005d6\nBLX             R3                                                     ; +0x24, 0x5005d8\nLDR             R1, =(unk_939830 - 0x5005E8)                           ; +0x26, 0x5005da\nADD             R10, PC; off_AB5BA0                                    ; +0x28, 0x5005dc\nLDR.W           R10, [R10]; dword_ACDD9C                               ; +0x2a, 0x5005de\nMOV             R2, R8                                                 ; +0x2e, 0x5005e2\nADD             R1, PC; unk_939830 ; char *                            ; +0x30, 0x5005e4\nADD.W           R4, R10, #0xC                                          ; +0x32, 0x5005e6\nSTR             R5, [SP,#0x34+var_28]                                  ; +0x36, 0x5005ea\nADD             R5, SP, #0x34+var_20                                   ; +0x38, 0x5005ec\nSTR             R4, [SP,#0x34+var_20]                                  ; +0x3a, 0x5005ee\nSTR             R0, [SP,#0x34+var_2C]                                  ; +0x3c, 0x5005f0\nMOV             R0, R6; int                                            ; +0x3e, 0x5005f2\nBL              sub_776584                                             ; +0x40, 0x5005f4\nADD             R4, SP, #0x34+var_18                                   ; +0x44, 0x5005f8\nLDR             R1, =(unk_939830 - 0x500604)                           ; +0x46, 0x5005fa\nMOV             R2, R8                                                 ; +0x48, 0x5005fc\nMOV             R0, R4; int                                            ; +0x4a, 0x5005fe\nADD             R1, PC; unk_939830 ; char *                            ; +0x4c, 0x500600\nBL              sub_776584                                             ; +0x4e, 0x500602\nADD             R7, SP, #0x34+var_14                                   ; +0x52, 0x500606\nLDR             R1, =(unk_939830 - 0x500612)                           ; +0x54, 0x500608\nMOV             R2, R8                                                 ; +0x56, 0x50060a\nMOV             R0, R7; int                                            ; +0x58, 0x50060c\nADD             R1, PC; unk_939830 ; char *                            ; +0x5a, 0x50060e\nBL              sub_776584                                             ; +0x5c, 0x500610\nLDR             R3, [SP,#0x34+var_2C]                                  ; +0x60, 0x500614\nSUBS            R3, #1; switch 6 cases                                 ; +0x62, 0x500616\nCMP             R3, #5                                                 ; +0x64, 0x500618\nBHI.W           def_50061E; jumptable 0050061E default case            ; +0x66, 0x50061a\nTBB.W           [PC,R3]; switch jump                                   ; +0x6a, 0x50061e\nDCB 3; jump table for switch statement                                 ; +0x6e, 0x500622\nDCB 0x1D                                                               ; +0x6f, 0x500623\nDCB 0x37                                                               ; +0x70, 0x500624\nDCB 0x51                                                               ; +0x71, 0x500625\nDCB 0x6B                                                               ; +0x72, 0x500626\nDCB 0x85                                                               ; +0x73, 0x500627\nLDR             R1, =(a0007 - 0x500630); jumptable 0050061E case 1     ; +0x74, 0x500628\nMOV             R0, R5; int                                            ; +0x76, 0x50062a\nADD             R1, PC; \"0007\"                                         ; +0x78, 0x50062c\nBL              sub_7753D4                                             ; +0x7a, 0x50062e\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x7e, 0x500632\nLDR             R1, =(a22 - 0x50063C); \"22\"                            ; +0x82, 0x500636\nADD             R1, PC; \"22\"                                           ; +0x84, 0x500638\nBL              _ZN11GameManager6getUGVEPKc; GameManager::getUGV(char const*) ; +0x86, 0x50063a\nLDR             R1, =(aYoutube - 0x500648); \"YouTube\"                  ; +0x8a, 0x50063e\nMOV             R10, R0                                                ; +0x8c, 0x500640\nMOV             R0, R6; int                                            ; +0x8e, 0x500642\nADD             R1, PC; \"YouTube\"                                      ; +0x90, 0x500644\nBL              sub_7753D4                                             ; +0x92, 0x500646\nLDR             R1, =(aSubscribeToCgR - 0x500652); \"Subscribe to <cg>RobTop Games</c> on <c\"... ; +0x96, 0x50064a\nMOV             R0, R4; int                                            ; +0x98, 0x50064c\nADD             R1, PC; \"Subscribe to <cg>RobTop Games</c> on <c\"...   ; +0x9a, 0x50064e\nBL              sub_7753D4                                             ; +0x9c, 0x500650\nLDR             R1, =(aSub - 0x50065C); \"Sub!\"                         ; +0xa0, 0x500654\nMOV             R0, R7                                                 ; +0xa2, 0x500656\nADD             R1, PC; \"Sub!\"                                         ; +0xa4, 0x500658\nB               loc_50075E                                             ; +0xa6, 0x50065a\nLDR             R1, =(a0008 - 0x500664); jumptable 0050061E case 2     ; +0xa8, 0x50065c\nMOV             R0, R5; int                                            ; +0xaa, 0x50065e\nADD             R1, PC; \"0008\"                                         ; +0xac, 0x500660\nBL              sub_7753D4                                             ; +0xae, 0x500662\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xb2, 0x500666\nLDR             R1, =(a24 - 0x500670); \"24\"                            ; +0xb6, 0x50066a\nADD             R1, PC; \"24\"                                           ; +0xb8, 0x50066c\nBL              _ZN11GameManager6getUGVEPKc; GameManager::getUGV(char const*) ; +0xba, 0x50066e\nLDR             R1, =(aTwitter - 0x50067C); \"Twitter\"                  ; +0xbe, 0x500672\nMOV             R10, R0                                                ; +0xc0, 0x500674\nMOV             R0, R6; int                                            ; +0xc2, 0x500676\nADD             R1, PC; \"Twitter\"                                      ; +0xc4, 0x500678\nBL              sub_7753D4                                             ; +0xc6, 0x50067a\nLDR             R1, =(aFollowCgRobtop - 0x500686); \"Follow <cg>RobTop Games</c> on <cl>Twit\"... ; +0xca, 0x50067e\nMOV             R0, R4; int                                            ; +0xcc, 0x500680\nADD             R1, PC; \"Follow <cg>RobTop Games</c> on <cl>Twit\"...   ; +0xce, 0x500682\nBL              sub_7753D4                                             ; +0xd0, 0x500684\nLDR             R1, =(aFollow_0 - 0x500690); \"Follow!\"                 ; +0xd4, 0x500688\nMOV             R0, R7                                                 ; +0xd6, 0x50068a\nADD             R1, PC; \"Follow!\"                                      ; +0xd8, 0x50068c\nB               loc_50075E                                             ; +0xda, 0x50068e\nLDR             R1, =(a0009 - 0x500698); jumptable 0050061E case 3     ; +0xdc, 0x500690\nMOV             R0, R5; int                                            ; +0xde, 0x500692\nADD             R1, PC; \"0009\"                                         ; +0xe0, 0x500694\nBL              sub_7753D4                                             ; +0xe2, 0x500696\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xe6, 0x50069a\nLDR             R1, =(a23 - 0x5006A4); \"23\"                            ; +0xea, 0x50069e\nADD             R1, PC; \"23\"                                           ; +0xec, 0x5006a0\nBL              _ZN11GameManager6getUGVEPKc; GameManager::getUGV(char const*) ; +0xee, 0x5006a2\nLDR             R1, =(aFacebook - 0x5006B0); \"Facebook\"                ; +0xf2, 0x5006a6\nMOV             R10, R0                                                ; +0xf4, 0x5006a8\nMOV             R0, R6; int                                            ; +0xf6, 0x5006aa\nADD             R1, PC; \"Facebook\"                                     ; +0xf8, 0x5006ac\nBL              sub_7753D4                                             ; +0xfa, 0x5006ae\nLDR             R1, =(aLikeCgGeometry - 0x5006BA); \"Like <cg>Geometry Dash</c> on <cr>Faceb\"... ; +0xfe, 0x5006b2\nMOV             R0, R4; int                                            ; +0x100, 0x5006b4\nADD             R1, PC; \"Like <cg>Geometry Dash</c> on <cr>Faceb\"...   ; +0x102, 0x5006b6\nBL              sub_7753D4                                             ; +0x104, 0x5006b8\nLDR             R1, =(aLike - 0x5006C4); \"Like!\"                       ; +0x108, 0x5006bc\nMOV             R0, R7                                                 ; +0x10a, 0x5006be\nADD             R1, PC; \"Like!\"                                        ; +0x10c, 0x5006c0\nB               loc_50075E                                             ; +0x10e, 0x5006c2\nLDR             R1, =(a0010 - 0x5006CC); jumptable 0050061E case 4     ; +0x110, 0x5006c4\nMOV             R0, R5; int                                            ; +0x112, 0x5006c6\nADD             R1, PC; \"0010\"                                         ; +0x114, 0x5006c8\nBL              sub_7753D4                                             ; +0x116, 0x5006ca\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x11a, 0x5006ce\nLDR             R1, =(a26 - 0x5006D8); \"26\"                            ; +0x11e, 0x5006d2\nADD             R1, PC; \"26\"                                           ; +0x120, 0x5006d4\nBL              _ZN11GameManager6getUGVEPKc; GameManager::getUGV(char const*) ; +0x122, 0x5006d6\nLDR             R1, =(aTwitch - 0x5006E4); \"Twitch\"                    ; +0x126, 0x5006da\nMOV             R10, R0                                                ; +0x128, 0x5006dc\nMOV             R0, R6; int                                            ; +0x12a, 0x5006de\nADD             R1, PC; \"Twitch\"                                       ; +0x12c, 0x5006e0\nBL              sub_7753D4                                             ; +0x12e, 0x5006e2\nLDR             R1, =(aFollowCgGeomet - 0x5006EE); \"Follow <cg>Geometry Dash</c> on <cr>Twi\"... ; +0x132, 0x5006e6\nMOV             R0, R4; int                                            ; +0x134, 0x5006e8\nADD             R1, PC; \"Follow <cg>Geometry Dash</c> on <cr>Twi\"...   ; +0x136, 0x5006ea\nBL              sub_7753D4                                             ; +0x138, 0x5006ec\nLDR             R1, =(aFollow_0 - 0x5006F8); \"Follow!\"                 ; +0x13c, 0x5006f0\nMOV             R0, R7                                                 ; +0x13e, 0x5006f2\nADD             R1, PC; \"Follow!\"                                      ; +0x140, 0x5006f4\nB               loc_50075E                                             ; +0x142, 0x5006f6\nLDR             R1, =(a0011 - 0x500700); jumptable 0050061E case 5     ; +0x144, 0x5006f8\nMOV             R0, R5; int                                            ; +0x146, 0x5006fa\nADD             R1, PC; \"0011\"                                         ; +0x148, 0x5006fc\nBL              sub_7753D4                                             ; +0x14a, 0x5006fe\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x14e, 0x500702\nLDR             R1, =(a27 - 0x50070C); \"27\"                            ; +0x152, 0x500706\nADD             R1, PC; \"27\"                                           ; +0x154, 0x500708\nBL              _ZN11GameManager6getUGVEPKc; GameManager::getUGV(char const*) ; +0x156, 0x50070a\nLDR             R1, =(aDiscord - 0x500718); \"Discord\"                  ; +0x15a, 0x50070e\nMOV             R10, R0                                                ; +0x15c, 0x500710\nMOV             R0, R6; int                                            ; +0x15e, 0x500712\nADD             R1, PC; \"Discord\"                                      ; +0x160, 0x500714\nBL              sub_7753D4                                             ; +0x162, 0x500716\nLDR             R1, =(aJoinCgGeometry - 0x500722); \"Join <cg>Geometry Dash</c> on <cr>Disco\"... ; +0x166, 0x50071a\nMOV             R0, R4; int                                            ; +0x168, 0x50071c\nADD             R1, PC; \"Join <cg>Geometry Dash</c> on <cr>Disco\"...   ; +0x16a, 0x50071e\nBL              sub_7753D4                                             ; +0x16c, 0x500720\nLDR             R1, =(aJoin - 0x50072C); \"Join!\"                       ; +0x170, 0x500724\nMOV             R0, R7                                                 ; +0x172, 0x500726\nADD             R1, PC; \"Join!\"                                        ; +0x174, 0x500728\nB               loc_50075E                                             ; +0x176, 0x50072a\nLDR             R1, =(a0024 - 0x500734); jumptable 0050061E case 6     ; +0x178, 0x50072c\nMOV             R0, R5; int                                            ; +0x17a, 0x50072e\nADD             R1, PC; \"0024\"                                         ; +0x17c, 0x500730\nBL              sub_7753D4                                             ; +0x17e, 0x500732\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x182, 0x500736\nLDR             R1, =(a32 - 0x500740); \"32\"                            ; +0x186, 0x50073a\nADD             R1, PC; \"32\"                                           ; +0x188, 0x50073c\nBL              _ZN11GameManager6getUGVEPKc; GameManager::getUGV(char const*) ; +0x18a, 0x50073e\nLDR             R1, =(aReddit - 0x50074C); \"Reddit\"                    ; +0x18e, 0x500742\nMOV             R10, R0                                                ; +0x190, 0x500744\nMOV             R0, R6; int                                            ; +0x192, 0x500746\nADD             R1, PC; \"Reddit\"                                       ; +0x194, 0x500748\nBL              sub_7753D4                                             ; +0x196, 0x50074a\nLDR             R1, =(aJoinCgGeometry_0 - 0x500756); \"Join <cg>Geometry Dash</c> on <cr>Reddi\"... ; +0x19a, 0x50074e\nMOV             R0, R4; int                                            ; +0x19c, 0x500750\nADD             R1, PC; \"Join <cg>Geometry Dash</c> on <cr>Reddi\"...   ; +0x19e, 0x500752\nBL              sub_7753D4                                             ; +0x1a0, 0x500754\nLDR             R1, =(aJoin - 0x500760); \"Join!\"                       ; +0x1a4, 0x500758\nMOV             R0, R7; int                                            ; +0x1a6, 0x50075a\nADD             R1, PC; \"Join!\"                                        ; +0x1a8, 0x50075c\nBL              sub_7753D4                                             ; +0x1aa, 0x50075e\nCMP.W           R10, #0                                                ; +0x1ae, 0x500762\nBNE             loc_5007C0                                             ; +0x1b2, 0x500766\nADD.W           R8, SP, #0x34+var_10                                   ; +0x1b4, 0x500768\nMOV             R1, R4                                                 ; +0x1b8, 0x50076c\nADD.W           R9, R9, #0x1F0                                         ; +0x1ba, 0x50076e\nLDR.W           R10, [SP,#0x34+var_1C]                                 ; +0x1be, 0x500772\nMOV             R0, R8                                                 ; +0x1c2, 0x500776\nBL              sub_775C20                                             ; +0x1c4, 0x500778\nLDR             R3, [SP,#0x34+var_14]                                  ; +0x1c8, 0x50077c\nMOV             R0, R9; int                                            ; +0x1ca, 0x50077e\nMOV             R1, R10; int                                           ; +0x1cc, 0x500780\nMOV             R2, R8; int                                            ; +0x1ce, 0x500782\nSTR             R3, [SP,#0x34+var_34]; int                             ; +0x1d0, 0x500784\nLDR             R3, flt_500868                                         ; +0x1d2, 0x500786\nSTR             R3, [SP,#0x34+var_30]; float                           ; +0x1d4, 0x500788\nLDR             R3, =(aCancel - 0x500790); \"Cancel\"                    ; +0x1d6, 0x50078a\nADD             R3, PC; \"Cancel\"                                       ; +0x1d8, 0x50078c\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x1da, 0x50078e\nMOV             R9, R0                                                 ; +0x1de, 0x500792\nMOV             R0, R8                                                 ; +0x1e0, 0x500794\nBL              sub_774008                                             ; +0x1e2, 0x500796\nLDR.W           R3, [R9]                                               ; +0x1e6, 0x50079a\nMOV             R0, R9                                                 ; +0x1ea, 0x50079e\nLDR             R1, [SP,#0x34+var_2C]                                  ; +0x1ec, 0x5007a0\nLDR             R3, [R3,#0x24]                                         ; +0x1ee, 0x5007a2\nBLX             R3                                                     ; +0x1f0, 0x5007a4\nLDR             R1, =(aGjButton02Png - 0x5007B0); \"GJ_button_02.png\"   ; +0x1f2, 0x5007a6\nLDR.W           R0, [R9,#0x1D8]; this                                  ; +0x1f4, 0x5007a8\nADD             R1, PC; \"GJ_button_02.png\"                             ; +0x1f8, 0x5007ac\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x1fa, 0x5007ae\nLDR.W           R3, [R9]                                               ; +0x1fe, 0x5007b2\nMOV             R0, R9                                                 ; +0x202, 0x5007b6\nLDR.W           R3, [R3,#0x284]                                        ; +0x204, 0x5007b8\nBLX             R3                                                     ; +0x208, 0x5007bc\nB               def_50061E; jumptable 0050061E default case            ; +0x20a, 0x5007be\nBL              _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x20c, 0x5007c0\nMOV             R10, R0                                                ; +0x210, 0x5007c4\nMOV             R1, R5                                                 ; +0x212, 0x5007c6\nMOV             R0, R8                                                 ; +0x214, 0x5007c8\nBL              sub_775C20                                             ; +0x216, 0x5007ca\nMOV             R0, R10                                                ; +0x21a, 0x5007ce\nMOV             R1, R8                                                 ; +0x21c, 0x5007d0\nBL              _ZN16GameStatsManager18unlockSpecialChestESs; GameStatsManager::unlockSpecialChest(std::string) ; +0x21e, 0x5007d2\nMOV             R10, R0                                                ; +0x222, 0x5007d6\nMOV             R0, R8                                                 ; +0x224, 0x5007d8\nBL              sub_774008                                             ; +0x226, 0x5007da\nCMP.W           R10, #0                                                ; +0x22a, 0x5007de\nBEQ             def_50061E; jumptable 0050061E default case            ; +0x22e, 0x5007e2\nMOV             R0, R9; this                                           ; +0x230, 0x5007e4\nMOV             R1, R11; CCMenuItemSpriteExtra *                       ; +0x232, 0x5007e6\nBL              _ZN16FollowRewardPage19switchToOpenedStateEP21CCMenuItemSpriteExtra; FollowRewardPage::switchToOpenedState(CCMenuItemSpriteExtra *) ; +0x234, 0x5007e8\nLDR.W           R0, [R10,#0x3C]; this                                  ; +0x238, 0x5007ec\nMOVS            R1, #0; int                                            ; +0x23c, 0x5007f0\nBL              _ZN17RewardUnlockLayer6createEiP11RewardsPage; RewardUnlockLayer::create(int,RewardsPage *) ; +0x23e, 0x5007f2\nLDR.W           R3, [R9]                                               ; +0x242, 0x5007f6\nMOV             R8, R0                                                 ; +0x246, 0x5007fa\nMOV             R1, R8                                                 ; +0x248, 0x5007fc\nMOV             R0, R9                                                 ; +0x24a, 0x5007fe\nMOVS            R2, #0x64 ; 'd'                                        ; +0x24c, 0x500800\nLDR.W           R3, [R3,#0xE0]                                         ; +0x24e, 0x500802\nBLX             R3                                                     ; +0x252, 0x500806\nMOV             R0, R8; this                                           ; +0x254, 0x500808\nMOV             R1, R10; GJRewardItem *                                ; +0x256, 0x50080a\nBL              _ZN17RewardUnlockLayer17showCollectRewardEP12GJRewardItem; RewardUnlockLayer::showCollectReward(GJRewardItem *) ; +0x258, 0x50080c\nMOV             R0, R7; jumptable 0050061E default case                ; +0x25c, 0x500810\nBL              sub_774008                                             ; +0x25e, 0x500812\nMOV             R0, R4                                                 ; +0x262, 0x500816\nBL              sub_774008                                             ; +0x264, 0x500818\nMOV             R0, R6                                                 ; +0x268, 0x50081c\nBL              sub_774008                                             ; +0x26a, 0x50081e\nMOV             R0, R5                                                 ; +0x26e, 0x500822\nBL              sub_774008                                             ; +0x270, 0x500824\nLDR             R3, [SP,#0x34+var_28]                                  ; +0x274, 0x500828\nLDR             R2, [SP,#0x34+var_8]                                   ; +0x276, 0x50082a\nLDR             R3, [R3]                                               ; +0x278, 0x50082c\nCMP             R2, R3                                                 ; +0x27a, 0x50082e\nBEQ             loc_500862                                             ; +0x27c, 0x500830\nBLX             __stack_chk_fail                                       ; +0x27e, 0x500832\nB               loc_500838                                             ; +0x282, 0x500836\nMOV             R0, R8                                                 ; +0x284, 0x500838\nBL              sub_774008                                             ; +0x286, 0x50083a\nB               loc_500840                                             ; +0x28a, 0x50083e\nMOV             R0, R7                                                 ; +0x28c, 0x500840\nBL              sub_774008                                             ; +0x28e, 0x500842\nB               loc_500848                                             ; +0x292, 0x500846\nMOV             R0, R4                                                 ; +0x294, 0x500848\nBL              sub_774008                                             ; +0x296, 0x50084a\nB               loc_500850                                             ; +0x29a, 0x50084e\nMOV             R0, R6                                                 ; +0x29c, 0x500850\nBL              sub_774008                                             ; +0x29e, 0x500852\nB               loc_500858                                             ; +0x2a2, 0x500856\nMOV             R0, R5                                                 ; +0x2a4, 0x500858\nBL              sub_774008                                             ; +0x2a6, 0x50085a\nBL              __cxa_end_cleanup                                      ; +0x2aa, 0x50085e\nADD             SP, SP, #0x34 ; '4'                                    ; +0x2ae, 0x500862\nPOP.W           {R4-R11,PC}                                            ; +0x2b0, 0x500864", "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"}